Commit f43e0d6a authored by chenwei's avatar chenwei

兑换导入错误信息

parent f6cc0a25
...@@ -650,10 +650,14 @@ export default { ...@@ -650,10 +650,14 @@ export default {
}, },
// 文件上传成功处理 // 文件上传成功处理
handleFileSuccess(response, file, fileList) { handleFileSuccess(response, file, fileList) {
if (response.code == "1001011027") {
this.$message.error(response.msg);
}
if ( if (
!response.data.redeemIdFailedMap || !response.data.redeemIdFailedMap ||
JSON.stringify(response.data.redeemIdFailedMap) == "{}" JSON.stringify(response.data.redeemIdFailedMap) == "{}"
) { ) {
this.upload.open = false;
this.$modal.msgSuccess(this.$t("导入成功")); this.$modal.msgSuccess(this.$t("导入成功"));
this.handleQuery(); this.handleQuery();
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment