Pre Merge pull request !156 from macro/fix/20250719-uploadFiles

pull/156/MERGE
macro 2025-07-19 11:40:12 +00:00 committed by Gitee
commit 6a1b582b54
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ async function uploadFiles(choosePromise, { onChooseFile, onUploadProgress, dire
} else {
// 后端上传
for (let file of files) {
const { data } = await FileApi.uploadFile(file.path);
const { data } = await FileApi.uploadFile(file.path, directory);
file.url = data;
}