NEZ-1784 fix:开启堆叠图后点击刷新按钮图表复位,堆叠图按钮依然是选中状态
This commit is contained in:
@@ -71,6 +71,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
initChart (chartOptions = this.chartOption) {
|
||||
try {
|
||||
this.isStack = this.chartInfo.param.stack
|
||||
} catch (e) {}
|
||||
const chartOption = lodash.cloneDeep(chartOptions)
|
||||
this.legends = []
|
||||
this.series = chartOption.series = this.handleTimeSeries(this.chartInfo, chartOption.series[0], this.chartData) // 生成series和legends
|
||||
|
||||
Reference in New Issue
Block a user