This commit is contained in:
‘937886381’
2025-01-03 09:55:08 +08:00
parent 5dd299e549
commit f26d7abc64
6 changed files with 19 additions and 14 deletions

View File

@@ -201,7 +201,7 @@ export default {
this.groupOptions =
res1.data.map((item) => {
item.label =
item.name + ' - ' + getDictDataLabel('workshop', item.roomNameDict);
item.name + (getDictDataLabel('workshop', item.roomNameDict) ? ' - ' + getDictDataLabel('workshop', item.roomNameDict) : '')
return item;
}) || [];
// const res = await getEquipmentAll()