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

View File

@@ -202,7 +202,7 @@ export default {
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)
},
dblclick: function () {