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