@@ -132,8 +132,10 @@
},{deep:true})
watch(()=>props.title,(newTit,oldTit)=>{
+ if(!chartInstance){
+ return
+ }
let opt=chartInstance.getOption()
- //console.log(opt)
opt.title[0].text=newTit
chartInstance.setOption(opt)
})