fix: Fixes input trigger on right mouse click (#4414)
* Fixed input trigger on right mouse click * Resolved commentspull/4570/head
parent
49f9ce6022
commit
7f429b7b74
|
@ -293,9 +293,9 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
onBasicUploaderClick() {
|
||||
onBasicUploaderClick(event) {
|
||||
if (this.hasFiles) this.upload();
|
||||
else this.$refs.fileInput.click();
|
||||
if (event.button === 0) this.$refs.fileInput.click();
|
||||
},
|
||||
remove(index) {
|
||||
this.clearInputElement();
|
||||
|
|
Loading…
Reference in New Issue