fix: session到期错误提示

This commit is contained in:
chenjianxing 2020-11-26 09:53:30 +08:00
parent cea611a783
commit ab31922cb7
1 changed files with 3 additions and 1 deletions

View File

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