fix: 修复删除了系统管理员删除了自己的权限后跳转到UI测试报错的问题

--bug=1017744 --user=刘瑞斌 【UI测试】系统设置-编辑用户-删除用户所属当前项目后-点击UI测试报错 https://www.tapd.cn/55049933/s/1259513
This commit is contained in:
CaptainB 2022-10-12 14:42:47 +08:00 committed by 刘瑞斌
parent 95834bd37c
commit cabd1756c9
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ const checkAuth = response => {
const checkPermission = response => {
// 请根据实际需求修改
if (response.status === 403) {
location.href = "/403";
location.href = "/";
}
}