From 42d219f2321d96cd8a99c937c9fb7116e97777e4 Mon Sep 17 00:00:00 2001 From: bjang03 <259278618@qq.com> Date: Wed, 9 Oct 2024 14:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=A0=A1=E9=AA=8C=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E6=98=AF=E5=90=A6=E7=AC=A6=E5=90=88=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=AD=96=E7=95=A5=EF=BC=8C=E4=B8=8D=E7=AC=A6=E5=90=88=E5=88=99?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/httpRequest3.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/api/httpRequest3.js b/src/api/httpRequest3.js index ea11f417..23d1c340 100644 --- a/src/api/httpRequest3.js +++ b/src/api/httpRequest3.js @@ -47,6 +47,12 @@ function service(options = {}) { url: '/pages/login/index' }) } + if (res.data.code == 1002000008) { + uni.setStorageSync('username',options.data.username) + uni.reLaunch({ + url: '/pages/setter/loginPwdUpdate' + }) + } if (res.data.msg) { if (res.data.msg.includes('get lock')) { reject("系统异常:状态码["+res.statusCode +"]\n"+"数据库死锁")