Demo:修复备注浮层显示时点击收起按钮收起节点后,备注浮层未消失的问题

This commit is contained in:
街角小林
2024-05-07 18:59:53 +08:00
parent 6751897309
commit d3d92a6e70

View File

@@ -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: {
// 显示备注浮层