From 3b60ea3147085a5256f9cda9f6d7e1e3429cf89b Mon Sep 17 00:00:00 2001 From: xuan Date: Wed, 14 Sep 2022 15:52:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2):=20=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/pages/login/index.tsx | 9 ++------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 2cea3ef..08827c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ dist/ +build/ deploy_versions/ .temp/ .rn_temp/ diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index 12079c6..2ea164f 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -68,7 +68,7 @@ const Login: FC = () => { setToken(res.data.token) setUserInfo({ ...res.data }) - Taro.redirectTo({ + Taro.switchTab({ url: '/pages/index/index', }) } else { @@ -93,12 +93,7 @@ const Login: FC = () => { - + {!eyesStatus ? (