From 32fdd488d83e705b3597b257d4211234232fcf86 Mon Sep 17 00:00:00 2001 From: valarchie <343928303@qq.com> Date: Wed, 26 Jul 2023 22:15:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=94=99=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/http/index.ts b/src/utils/http/index.ts index e960e02..8801de5 100644 --- a/src/utils/http/index.ts +++ b/src/utils/http/index.ts @@ -136,7 +136,7 @@ class PureHttp { // 请求返回失败时,有业务错误时,弹出错误提示 if (response.data.code !== 0) { // token失效时弹出过期提示 - if (response.data.code === 20101) { + if (response.data.code === 106) { ElMessageBox.confirm( "登录状态已过期,您可以继续留在该页面,或者重新登录", "系统提示",