FIX scecharts 在特殊情况下 resize()失效
This commit is contained in:
parent
75ec169e44
commit
d09955b803
|
|
@ -35,6 +35,11 @@
|
||||||
return this.option || {};
|
return this.option || {};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
activated(){
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.myChart.resize()
|
||||||
|
})
|
||||||
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
this.draw();
|
this.draw();
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue