fix: 修复登录用户可以查看其他工作空间的bug

This commit is contained in:
Captain.B 2020-09-30 17:35:55 +08:00
parent 0a3a5e2ecc
commit df919bd6ac
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ export default {
login();
return;
}
if (error.response && error.response.status === 403) {
window.location.href = "/";
return;
}
result.loading = false;
window.console.error(error.response || error.message);
if (error.response && error.response.data) {