update 实时产量

This commit is contained in:
lb
2022-11-23 16:21:09 +08:00
parent 779a771bb5
commit 59b40fefe9
3 changed files with 241 additions and 223 deletions

View File

@@ -10,7 +10,13 @@ export default {
mounted() {
this.$_resizeHandler = debounce(() => {
if (this.chart) {
this.chart.resize()
if (this.setChartOption) {
this.setChartOption()
this.$nextTick(() => {
this.chart.resize()
})
} else
this.chart.resize()
}
}, 100)
this.$_initResizeEvent()