mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-06 00:05:34 +00:00
feat: 增加文件移动功能
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user