fix: 登入过期,提示报错

This commit is contained in:
chenjianxing 2020-11-25 10:17:57 +08:00
parent 592052ca43
commit 76e0991067

View File

@ -43,7 +43,7 @@ export default {
success(response.data);
} else {
window.console.warn(response.data);
Message.warning(response.data.message);
Message.warning(response.data.message || response.data);
}
result.loading = false;
}