fix: add some comments
This commit is contained in:
@@ -18,5 +18,9 @@ export const postDefParameterPage = async (stationCode: string, pageQuery: PageP
|
||||
export const putDefParameter = async (stationCode: string, updateVO: DefParameterUpdateVO) => {
|
||||
const prefix = stationCode ? `/${stationCode}` : '';
|
||||
const resp = await ndmClient.put<Result<DefParameterResultVO>>(`${prefix}/api/system/defParameter`, { ...updateVO });
|
||||
return resp;
|
||||
const [err, defParameterData] = resp;
|
||||
if (err || !defParameterData) {
|
||||
throw err;
|
||||
}
|
||||
return defParameterData;
|
||||
};
|
||||
|
||||
@@ -301,7 +301,7 @@ const scrollDeviceTreeToSelectedDevice = (timeout: number = 500) => {
|
||||
<div>selectedKeys: {{ selectedKeys }}</div>
|
||||
<div>expandedKeys: {{ expandedKeys }}</div>
|
||||
<div>selectedDevice: {{ selectedDevice?.deviceId }}</div>
|
||||
<NScrollbar style="width: 500px; height: 400px; border: solid 1px salmon">
|
||||
<NScrollbar style="width: 800px; height: 400px; border: solid 1px salmon" x-scrollable>
|
||||
<pre>{{ selectedDevice }}</pre>
|
||||
</NScrollbar>
|
||||
</NLayoutContent>
|
||||
|
||||
Reference in New Issue
Block a user