fix:处理chartDiagram 首次加载的问题

This commit is contained in:
zhangyu
2023-06-12 09:54:29 +08:00
parent d5668a2622
commit d690967f7e
2 changed files with 9 additions and 6 deletions

View File

@@ -143,6 +143,9 @@ export default {
}
getTopology(this.meta2dId).lock(1)
this.getNodesArr()
if (this.meta2dId === 'rightBoxChartEdit') {
this.$refs.header.editMeta2d()
}
})
})
},
@@ -299,7 +302,7 @@ export default {
this.selectPens = pens
this.modulesDiff(pens[0])
this.$refs.meta2dProps && (this.$refs.meta2dProps.isUpdate = true)
}, 600)
}, 200)
},
topoClick (params, e) { // 点击节点
if (!params.pen && this.$refs.meta2dProps) {