Demo:修复备注浮层显示时点击收起按钮收起节点后,备注浮层未消失的问题
This commit is contained in:
parent
6751897309
commit
d3d92a6e70
@ -39,6 +39,7 @@ export default {
|
|||||||
this.$bus.$on('scale', this.onScale)
|
this.$bus.$on('scale', this.onScale)
|
||||||
this.$bus.$on('translate', this.onScale)
|
this.$bus.$on('translate', this.onScale)
|
||||||
this.$bus.$on('svg_mousedown', this.hideNoteContent)
|
this.$bus.$on('svg_mousedown', this.hideNoteContent)
|
||||||
|
this.$bus.$on('expand_btn_click', this.hideNoteContent)
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.initEditor()
|
this.initEditor()
|
||||||
@ -51,6 +52,7 @@ export default {
|
|||||||
this.$bus.$off('scale', this.onScale)
|
this.$bus.$off('scale', this.onScale)
|
||||||
this.$bus.$off('translate', this.onScale)
|
this.$bus.$off('translate', this.onScale)
|
||||||
this.$bus.$off('svg_mousedown', this.hideNoteContent)
|
this.$bus.$off('svg_mousedown', this.hideNoteContent)
|
||||||
|
this.$bus.$off('expand_btn_click', this.hideNoteContent)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 显示备注浮层
|
// 显示备注浮层
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user