fix: 上传接口变更
This commit is contained in:
@@ -118,7 +118,7 @@ function fnUpload(up: UploadRequestOption) {
|
||||
if (res.code === 200) {
|
||||
message.success('文件上传成功', 3);
|
||||
state.uploadFilePath = res.data.url;
|
||||
state.downloadFilePath = res.data.fileName;
|
||||
state.downloadFilePath = res.data.filePath;
|
||||
} else {
|
||||
message.error(res.msg, 3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user