fix:修改 chartTemp 新增组件使用错误的问题

This commit is contained in:
zhangyu
2022-01-04 16:26:43 +08:00
parent bf376fad61
commit d0a229492f
3 changed files with 120 additions and 19 deletions

View File

@@ -338,10 +338,11 @@ export default {
this.$emit('changeTab', tab)
},
closeRightBox (refresh) {
console.log('close')
this.rightBox.chart.show = false
this.rightBox.chartTemp.show = false
this.chart = {}
this.$store.dispatch('clearPanel')
this.chart = {}
if (refresh) {
this.refresh()
if (this.from === fromRoute.chartTemp) {