优化项目
This commit is contained in:
@@ -17,7 +17,8 @@ export function decorateDeviceTree(
|
||||
child.children?.forEach((grand: any) => {
|
||||
applyMeta(grand, {
|
||||
icon: 'el-icon-Platform',
|
||||
color: statusColor(grand.comFlag)
|
||||
color: statusColor(grand.comFlag),
|
||||
level: 3
|
||||
})
|
||||
leaves.engineering.push(grand)
|
||||
})
|
||||
@@ -68,6 +69,7 @@ export function decorateDeviceTree(
|
||||
l3.pName = '监测设备'
|
||||
applyMeta(l3, {
|
||||
icon: 'el-icon-Platform',
|
||||
level: 3,
|
||||
color: l3.comFlag === 1 ? '#e26257 !important' : primary()
|
||||
})
|
||||
leaves.monitor.push(l3)
|
||||
|
||||
Reference in New Issue
Block a user