fix:notebook详情模式 切换数据 取消编辑状态

This commit is contained in:
zyh
2023-09-27 09:39:49 +08:00
parent 88fbcdbeed
commit 51e14fb092
2 changed files with 5 additions and 0 deletions

View File

@@ -630,6 +630,7 @@ export default {
}
bus.$off('addNotebook', this.addNotebook)
bus.$off('copyChartText', this.copyChartText)
this.$store.commit('setNotebookEdit', false)
},
watch: {
obj: {

View File

@@ -87,6 +87,10 @@ export default {
}
},
methods: {
detailViewRightShow (item) {
this.$store.commit('setNotebookEdit', false)
this.$emit('detailViewRightShow', item)
},
// label 鼠标划入
labelHover (item, type, loading, e) {
if (e) {