@@ -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()
@@ -1909,6 +1909,7 @@ export default {
}).then(res=>{
if(res.Ret!==200) return
this.$message.success('保存成功')
+ this.$refs.createChart.oldOptions = {}
})
},
//重绘指标图表