@@ -132,8 +132,8 @@ export default {
watch: {
edbid:{
handler(newVal){
- console.log('??')
if(newVal){
+ this.init()
this.chart_type = 1
this.isShowOnyearData = false
this.getDataByPath()
@@ -1938,6 +1938,7 @@ export default {
this.$message.success('保存成功')
this.$refs.createChart.saveEdbImg(this.EdbData)
+ this.$refs.createChart.oldOptions = {}
})
},
//重绘指标图表