chore: use command key to select multiple files on mac (#1183)

This commit is contained in:
WeidiDeng 2020-12-12 21:09:50 +08:00 committed by GitHub
parent ac3673e111
commit bc4a6462ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,7 @@ export default {
return return
} }
if (!this.user.singleClick && !event.ctrlKey && !this.$store.state.multiple) this.resetSelected() if (!this.user.singleClick && !event.ctrlKey && !event.metaKey && !this.$store.state.multiple) this.resetSelected()
this.addSelected(this.index) this.addSelected(this.index)
}, },
dblclick: function () { dblclick: function () {