修复组织结构树在非内容区域也能拖动结构树的bug

This commit is contained in:
zhigang.li 2018-12-24 10:38:16 +08:00
parent 666639083d
commit c336aef320
1 changed files with 0 additions and 2 deletions

View File

@ -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)
}
}