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