forked from github/dataease
fix: 点击血缘关系前端提示异常
This commit is contained in:
parent
595465a762
commit
3d5d7c200c
@ -339,6 +339,7 @@ export default {
|
|||||||
return [list, gap]
|
return [list, gap]
|
||||||
},
|
},
|
||||||
initEchart(clickNode = []) {
|
initEchart(clickNode = []) {
|
||||||
|
if (!this.treeData.length) return
|
||||||
if (this.myChart) {
|
if (this.myChart) {
|
||||||
this.myChart.dispose()
|
this.myChart.dispose()
|
||||||
this.myChart = null
|
this.myChart = null
|
||||||
|
Loading…
Reference in New Issue
Block a user