mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-04-25 07:57:18 +08:00
fix: 修改授权失败的错误码
This commit is contained in:
parent
167d4122b7
commit
32fdd488d8
@ -136,7 +136,7 @@ class PureHttp {
|
||||
// 请求返回失败时,有业务错误时,弹出错误提示
|
||||
if (response.data.code !== 0) {
|
||||
// token失效时弹出过期提示
|
||||
if (response.data.code === 20101) {
|
||||
if (response.data.code === 106) {
|
||||
ElMessageBox.confirm(
|
||||
"登录状态已过期,您可以继续留在该页面,或者重新登录",
|
||||
"系统提示",
|
||||
|
Loading…
x
Reference in New Issue
Block a user