Merge branch '2.0'

This commit is contained in:
zhigang.li 2018-12-24 10:38:40 +08:00
commit 0b58996a4d
1 changed files with 0 additions and 2 deletions

View File

@ -160,11 +160,9 @@ export default {
} }
}, },
mounted () { mounted () {
on(document, 'mousedown', this.mousedownView)
on(document, 'contextmenu', this.handleDocumentContextmenu) on(document, 'contextmenu', this.handleDocumentContextmenu)
}, },
beforeDestroy () { beforeDestroy () {
off(document, 'mousedown', this.mousedownView)
off(document, 'contextmenu', this.handleDocumentContextmenu) off(document, 'contextmenu', this.handleDocumentContextmenu)
} }
} }