update
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ api.interceptors.response.use(
|
||||
case 401:
|
||||
console.error('未授权,请重新登录')
|
||||
localStorage.clear()
|
||||
window.location.href = '/login'
|
||||
window.location.href = '/#/login'
|
||||
break
|
||||
case 403:
|
||||
// 禁止访问
|
||||
|
||||
Reference in New Issue
Block a user