fix: 修复删除了系统管理员删除了自己的权限后跳转到UI测试报错的问题
--bug=1017744 --user=刘瑞斌 【UI测试】系统设置-编辑用户-删除用户所属当前项目后-点击UI测试报错 https://www.tapd.cn/55049933/s/1259513
This commit is contained in:
parent
95834bd37c
commit
cabd1756c9
|
@ -78,7 +78,7 @@ const checkAuth = response => {
|
|||
const checkPermission = response => {
|
||||
// 请根据实际需求修改
|
||||
if (response.status === 403) {
|
||||
location.href = "/403";
|
||||
location.href = "/";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue