CN-949: 折线图切换时间后图形可能出错
This commit is contained in:
@@ -294,7 +294,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.showMarkLine = true
|
this.showMarkLine = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.myChart = echarts.init(this.$refs.overviewLineChart)
|
!this.myChart && (this.myChart = echarts.init(this.$refs.overviewLineChart))
|
||||||
this.myChart.setOption(this.chartOption)
|
this.myChart.setOption(this.chartOption)
|
||||||
|
|
||||||
this.myChart.dispatchAction({
|
this.myChart.dispatchAction({
|
||||||
|
|||||||
Reference in New Issue
Block a user