fix: 点击血缘关系前端提示异常

This commit is contained in:
dataeaseShu 2023-03-30 13:57:33 +08:00
parent 595465a762
commit 3d5d7c200c

View File

@ -339,6 +339,7 @@ export default {
return [list, gap]
},
initEchart(clickNode = []) {
if (!this.treeData.length) return
if (this.myChart) {
this.myChart.dispose()
this.myChart = null