This commit is contained in:
Lan
2024-11-23 21:50:46 +08:00
parent 9693f3d329
commit a247dd163d
7 changed files with 166 additions and 140 deletions
+1 -1
View File
@@ -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:
// 禁止访问