|
@@ -379,7 +379,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
changeModel(type,data){
|
|
|
- if(type==='frame'&&this.frameType==='my'&&data.ChartFrameworkId===this.currentFrame.ChartFrameworkId) return
|
|
|
+ if(type==='frame'&&data.ChartFrameworkId===this.currentFrame.ChartFrameworkId) return
|
|
|
this.model = type
|
|
|
//销毁画布
|
|
|
this.$refs.container&&this.$refs.container.dispose()
|
|
@@ -388,6 +388,7 @@ export default {
|
|
|
this.handleInitGraph()
|
|
|
}else{
|
|
|
this.currentList = data.children||[]
|
|
|
+ this.currentFrame={}
|
|
|
}
|
|
|
},
|
|
|
handleInitGraph(){
|