diff --git a/web/src/pages/Edit/components/NodeNoteContentShow.vue b/web/src/pages/Edit/components/NodeNoteContentShow.vue index ac5cdf21..91bac25e 100644 --- a/web/src/pages/Edit/components/NodeNoteContentShow.vue +++ b/web/src/pages/Edit/components/NodeNoteContentShow.vue @@ -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: { // 显示备注浮层