fix: 修复登录用户可以查看其他工作空间的bug
This commit is contained in:
parent
0a3a5e2ecc
commit
df919bd6ac
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue