fix: 修改treemap tootip报错的问题

This commit is contained in:
zhangyu
2021-12-13 15:31:18 +08:00
parent ab131019f1
commit 06b2905a91
3 changed files with 9 additions and 4 deletions

View File

@@ -2101,7 +2101,11 @@ export default {
}
})
getTopology(this.topologyIndex).resize()
getTopology(this.topologyIndex).centerView()
if (this.isPanel) {
getTopology(this.topologyIndex).fitView()
} else {
getTopology(this.topologyIndex).centerView()
}
clearTimeout(this.timer)
this.timer = null
// this.getNodesArr()