diff --git a/src/components/FileBrowser.vue b/src/components/FileBrowser.vue index 5c494f7a..c7c018fb 100644 --- a/src/components/FileBrowser.vue +++ b/src/components/FileBrowser.vue @@ -36,6 +36,11 @@ const availableStorages = [ code: 'aliyun', icon: 'mdi-cloud-outline', }, + { + name: '115网盘', + code: 'u115', + icon: 'mdi-cloud-outline', + }, ] const fileIcons = { diff --git a/src/components/input/PathField.vue b/src/components/input/PathField.vue index cb84267a..a4d83042 100644 --- a/src/components/input/PathField.vue +++ b/src/components/input/PathField.vue @@ -40,7 +40,7 @@ const treeItems = ref([ // 拉取子目录 async function fetchDirs(item: any) { return api - .get('/filebrowser/local/listdir?path=' + item.path) + .get('/local/listdir?path=' + item.path) .then((data: any) => { item.children.push(...data) })