mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-29 19:25:57 +00:00
right click fix
This commit is contained in:
@@ -171,7 +171,8 @@ export default {
|
|||||||
this.area = false
|
this.area = false
|
||||||
},
|
},
|
||||||
clickedItem(e) {
|
clickedItem(e) {
|
||||||
events.$emit('unClick')
|
// Disabled right click
|
||||||
|
if (e.button === 2) return
|
||||||
|
|
||||||
if (!this.$isMobile()) {
|
if (!this.$isMobile()) {
|
||||||
|
|
||||||
|
|||||||
@@ -170,7 +170,8 @@ export default {
|
|||||||
this.area = false
|
this.area = false
|
||||||
},
|
},
|
||||||
clickedItem(e) {
|
clickedItem(e) {
|
||||||
events.$emit('unClick')
|
// Disabled right click
|
||||||
|
if (e.button === 2) return
|
||||||
|
|
||||||
if (!this.$isMobile()) {
|
if (!this.$isMobile()) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user