Showing
2 changed files
with
2 additions
and
2 deletions
@@ -229,7 +229,7 @@ | @@ -229,7 +229,7 @@ | ||
229 | deviceProfileId, | 229 | deviceProfileId, |
230 | }); | 230 | }); |
231 | entityOptions.value = res.map((item) => ({ | 231 | entityOptions.value = res.map((item) => ({ |
232 | - label: item.name, | 232 | + label: item.alias || item.name, |
233 | value: item.tbDeviceId, | 233 | value: item.tbDeviceId, |
234 | })); | 234 | })); |
235 | }; | 235 | }; |
@@ -221,7 +221,7 @@ | @@ -221,7 +221,7 @@ | ||
221 | deviceProfileId, | 221 | deviceProfileId, |
222 | }); | 222 | }); |
223 | entityOptions.value = res.map((item) => ({ | 223 | entityOptions.value = res.map((item) => ({ |
224 | - label: item.name, | 224 | + label: item.alias || item.name, |
225 | value: item.tbDeviceId, | 225 | value: item.tbDeviceId, |
226 | })); | 226 | })); |
227 | }; | 227 | }; |