update 实时产量
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user