Commit 2443c684 authored by Sixiang_Zzb's avatar Sixiang_Zzb

修复小区服务 同步回复信息 异常提示bug

parent 2e28f266
......@@ -62,12 +62,13 @@ export default {
break;
}
const resp = yield call(service.RA, playload);
if (resp.code === 500 || resp.error_code !== '0000') {
// window.location.href = '/500';
message.error(`${resp.error_code}:${resp.error_msg}`);
}
// if (resp.code === 500 || resp.error_code !== '0000') {
// window.location.href = '/500';
// message.error(`${resp.error_code}:${resp.error_msg}`);
// }
if (resp.error_code !== '0000') {
message.error(`${resp.error_code}:${resp.error_msg}`);
message.error(`${resp.error_code}:${resp.error_msg || "unkonw error"}`);
history.go(-1);
} else {
switch (playload.index) {
case 21:
......
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