fix aliyunpan ui

This commit is contained in:
jxxghp
2024-06-18 12:01:38 +08:00
parent 9e9e940dfd
commit e003b6f9a7
4 changed files with 12 additions and 6 deletions

View File

@@ -32,13 +32,15 @@ const treeItems = ref<FileItem[]>([
extension: '',
size: 0,
modify_time: 0,
fileid: '',
parent_fileid: '',
},
])
// 拉取子目录
async function fetchDirs(item: any) {
return api
.get('/filebrowser/listdir?path=' + item.path)
.get('/filebrowser/local/listdir?path=' + item.path)
.then((data: any) => {
item.children.push(...data)
})