fix: 上传接口变更

This commit is contained in:
TsMask
2025-02-26 14:32:30 +08:00
parent 1aca8ae486
commit 8e4df6a85f
3 changed files with 6 additions and 8 deletions

View File

@@ -211,8 +211,7 @@ function fnUploadFile(up: UploadRequestOption) {
file.percent = 100;
file.status = 'done';
// 预置到表单
const { fileName } = res.data;
modalState.from.path = fileName;
modalState.from.path = res.data.filePath;
} else {
message.error(res.msg, 3);
}