修复组织结构树在非内容区域也能拖动结构树的bug
This commit is contained in:
parent
666639083d
commit
c336aef320
|
|
@ -160,11 +160,9 @@ export default {
|
|||
}
|
||||
},
|
||||
mounted () {
|
||||
on(document, 'mousedown', this.mousedownView)
|
||||
on(document, 'contextmenu', this.handleDocumentContextmenu)
|
||||
},
|
||||
beforeDestroy () {
|
||||
off(document, 'mousedown', this.mousedownView)
|
||||
off(document, 'contextmenu', this.handleDocumentContextmenu)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue