fix:修复切换chartType报错

This commit is contained in:
wangwenrui
2020-09-25 10:47:01 +08:00
parent 6816b21854
commit a7e19e85de

View File

@@ -1090,7 +1090,7 @@
}else {
this.setIsOtherChart();
if(chartType === 'bar'||chartType === 'line'||chartType === 'stackArea'){
this.editChart.param={threshold:''}
this.editChart.param={threshold:'',legendValue:{min:'off',max:'off',avg:'off',last:'off',total:'off'}}
}
/*if(this.$refs.chartTag){
this.$refs.chartTag.forEach((item, index) => {