diff --git a/src/components/FileTable.vue b/src/components/FileTable.vue index 5b4fee5..776f81c 100644 --- a/src/components/FileTable.vue +++ b/src/components/FileTable.vue @@ -456,7 +456,7 @@ export default { if (listOfFolder.includes(file.parentPath)) { await this.moveFileToTarget(file, file.parentPath + '/', file.name); } else { - await this.createFolder(file, ''); + await this.moveFileToTarget(file, ''); } } }