fix: PCF文件上传结果显示内容
This commit is contained in:
1 parent
1c44651ad2
commit
208d7a4725
3 files changed
+5
-1
No files matched your search
@@ -469,7 +469,9 @@ function fnModalUploadImportUpload(file: File) {
|
||||
return res;
|
||||
})
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS && res.data?.detail) {
|
||||
if (res.code === RESULT_CODE_SUCCESS && res.data?.filePath) {
|
||||
uploadImportState.msg = t('views.neUser.pcf.uploadFileOk');
|
||||
} else if (res.code === RESULT_CODE_SUCCESS && res.data?.detail) {
|
||||
uploadImportState.msg = res.data?.detail;
|
||||
} else {
|
||||
uploadImportState.msg = t('views.neUser.pcf.uploadFileErr');
|
||||
|
||||
Reference in new issue
Block a user