Merge branch '2.0'
This commit is contained in:
commit
0b58996a4d
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue