feat: 增加文件移动功能

This commit is contained in:
zhengkunwang223
2022-09-07 14:03:24 +08:00
parent 16b9adfefe
commit f4eead9cc2
14 changed files with 201 additions and 6 deletions
@@ -54,6 +54,10 @@ const props = defineProps({
type: String,
default: '/',
},
dir: {
type: Boolean,
default: false,
},
});
const em = defineEmits(['choose']);
@@ -89,6 +93,7 @@ const jump = async (index: number) => {
};
const search = async (req: File.ReqFile) => {
req.dir = props.dir;
loading.value = true;
await GetFilesList(req)
.then((res) => {