提交 7e6749e9 authored 作者: wangjiahao's avatar wangjiahao

fix: 仪表盘编辑 点击事件问题

上级 9721a406
......@@ -241,7 +241,7 @@ export default {
showPanel(type) {
debugger
if (this.showIndex === -1 || this.showIndex === type) {
this.show = !this.show
this.$nextTick(() => (this.show = !this.show))
}
this.showIndex = type
},
......@@ -254,6 +254,7 @@ export default {
// 点击样式按钮 排除
const stick = evt.target.closest('.el-icon-magic-stick')
if (!parent && !self && !stick) {
debugger
this.show = false
window.removeEventListener('click', this.closeSidebar)
this.showIndex = -1
......@@ -371,6 +372,7 @@ export default {
this.openFilterDiolog()
},
closeLeftPanel() {
debugger
this.show = false
// this.beforeDestroy()
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论