mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Demo:修复备注浮层显示时点击收起按钮收起节点后,备注浮层未消失的问题
This commit is contained in:
@@ -39,6 +39,7 @@ export default {
|
||||
this.$bus.$on('scale', this.onScale)
|
||||
this.$bus.$on('translate', this.onScale)
|
||||
this.$bus.$on('svg_mousedown', this.hideNoteContent)
|
||||
this.$bus.$on('expand_btn_click', this.hideNoteContent)
|
||||
},
|
||||
mounted() {
|
||||
this.initEditor()
|
||||
@@ -51,6 +52,7 @@ export default {
|
||||
this.$bus.$off('scale', this.onScale)
|
||||
this.$bus.$off('translate', this.onScale)
|
||||
this.$bus.$off('svg_mousedown', this.hideNoteContent)
|
||||
this.$bus.$off('expand_btn_click', this.hideNoteContent)
|
||||
},
|
||||
methods: {
|
||||
// 显示备注浮层
|
||||
|
||||
Reference in New Issue
Block a user