watch: { dataList: { handler() { if (this.chart) { this.chart.dispose(); this.chart = null; } this.initChart(); }, deep: true, // immediate: true }, },