Sign in
简柏林
/
thingskit-front
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
789a64847b4ddfd2a2ec1b19935cf158ae0c667b
Authored by
fengwotao
2023-04-25 10:22:36 +0800
1 parent
4488b4c2
pref: 设备显示别名或名字
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/views/dataview/publicApi/components/TestInterface/bodyTest/testEditBodyCellTable.vue
src/views/dataview/publicApi/components/TestInterface/paramsTest/testEditParamsCellTable.vue
src/views/dataview/publicApi/components/TestInterface/bodyTest/testEditBodyCellTable.vue
View file @
789a648
...
...
@@ -229,7 +229,7 @@
229
229
deviceProfileId,
230
230
});
231
231
entityOptions.value = res.map((item) => ({
232
-
label: item.name,
232
+
label: item.
alias || item.
name,
233
233
value: item.tbDeviceId,
234
234
}));
235
235
};
...
...
src/views/dataview/publicApi/components/TestInterface/paramsTest/testEditParamsCellTable.vue
View file @
789a648
...
...
@@ -221,7 +221,7 @@
221
221
deviceProfileId,
222
222
});
223
223
entityOptions.value = res.map((item) => ({
224
-
label: item.name,
224
+
label: item.
alias || item.
name,
225
225
value: item.tbDeviceId,
226
226
}));
227
227
};
...
...