mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
上传错误
This commit is contained in:
@@ -403,6 +403,9 @@ const handleChange = (info) => {
|
||||
} else if (status === "error") {
|
||||
state.progressColor = 'red'
|
||||
state.status = 'error'
|
||||
if (info.file.response.message) {
|
||||
return message.error(`${info.file.response.message},上传失败`);
|
||||
}
|
||||
message.error(`${info.file.name}上传失败`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user