Commit 7498544cf37c4a455d7c4ca2866f9f307597e63a

Authored by xp.Huang
2 parents 4488b4c2 789a6484

Merge branch 'ft' into 'main_dev'

pref: 设备显示别名或名字

See merge request yunteng/thingskit-front!561
@@ -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 };