fix:重置topology后缩放回到1

This commit is contained in:
zhangyu
2020-08-27 17:05:10 +08:00
parent aaa0ecca25
commit a451d47391
3 changed files with 20 additions and 6 deletions

View File

@@ -211,6 +211,7 @@
},500)
}
this.$refs['topology'].viewsCenter={x:0,y:0};
this.$refs['topology'].zoom=1;
})
},
formatNodesArr(arr){