feat: duplicate files in the same directory

This commit is contained in:
Ramires Viana committed 2020-07-17 14:11:23 +00:00
1 parent 2636f876ab
commit 43526d9d1a
3 files changed
+23 -2

No files matched your search

+8 -1
View File
@@ -248,7 +248,8 @@ export default {
this.$store.commit('updateClipboard', {
key: key,
items: items
items: items,
path: this.$route.path
})
},
paste (event) {
@@ -282,6 +283,12 @@ export default {
}
}
if (this.$store.state.clipboard.path == this.$route.path) {
action(false, true)
return
}
let conflict = upload.checkConflict(items, this.req.items)
let overwrite = false