NEZ-2891 fix:chart-diagram 点击编辑 后直接退出 缩放后 节点位置不正确

This commit is contained in:
zhangyu
2023-06-20 11:10:13 +08:00
parent 0f130f61f3
commit b6c29c8542
3 changed files with 11 additions and 10 deletions

View File

@@ -324,6 +324,11 @@ export default {
this.offsetY = getTopology(this.meta2dId).store.data.y
this.showNodeTools()
this.popDataShowUpdate('', true)
this.renderTopology()
},
renderTopology () {
console.log('render')
getTopology(this.meta2dId).render()
},
penEnter (pen, e) { // 移入节点
if (this.timer3) {