修复完成版对应的issue54,55,56
Former-commit-id: 74894882e9a2b12917de159b0be4af84c9604eda
This commit is contained in:
@@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
watchContextmenu (event) {
|
||||
if (!this.$el.contains(event.target)) this.flag = false
|
||||
if (!this.$el.contains(event.target) || event.button !== 0) this.flag = false
|
||||
window.removeEventListener('mousedown', this.watchContextmenu)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user