FIX scecharts 在特殊情况下 resize()失效

This commit is contained in:
sakuya 2021-05-14 20:06:40 +08:00
parent 75ec169e44
commit d09955b803
1 changed files with 6 additions and 1 deletions

View File

@ -35,6 +35,11 @@
return this.option || {};
}
},
activated(){
this.$nextTick(() => {
this.myChart.resize()
})
},
mounted(){
this.draw();
},