完成 谐波监测 稳态统计报表 联调 全局对话框添加可移动属性
This commit is contained in:
@@ -80,10 +80,6 @@ const loadData = () => {
|
||||
item4.icon = 'fa-solid fa-tower-observation'
|
||||
item4.color = config.getColorVal('elementUiPrimary')
|
||||
item4.children.forEach((item5: anyObj) => {
|
||||
if (!attrs['current-node-key'] && !nodeKey) {
|
||||
nodeKey = item5.id
|
||||
emit('init', item5)
|
||||
}
|
||||
item5.alias = `${item.name}>${item2.name}>${item3.name}>${item4.name}>${item5.name}`
|
||||
item5.icon = 'fa-solid fa-location-dot'
|
||||
item5.color = config.getColorVal('elementUiPrimary')
|
||||
@@ -99,6 +95,10 @@ const loadData = () => {
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
nodeKey = res.data[0].children[0].children[0].children[0].children[0].id
|
||||
emit('init', res.data[0].children[0].children[0].children[0].children[0])
|
||||
|
||||
tree.value = res.data
|
||||
if (nodeKey) {
|
||||
nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user