From 2b794f138ae5bb360159ab881e8f82954bc3cff2 Mon Sep 17 00:00:00 2001 From: linju <8432241+linjuDcloud@user.noreply.gitee.com> Date: Sat, 10 Apr 2021 00:42:10 +0800 Subject: [PATCH] 123 --- uni_modules/uni-login-page/pages/index/phone-code.vue | 4 +++- uni_modules/uni-login-page/pages/index/pwd-login.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/uni_modules/uni-login-page/pages/index/phone-code.vue b/uni_modules/uni-login-page/pages/index/phone-code.vue index 5eb0c5de..bf695427 100644 --- a/uni_modules/uni-login-page/pages/index/phone-code.vue +++ b/uni_modules/uni-login-page/pages/index/phone-code.vue @@ -138,7 +138,9 @@ title: '登陆成功', icon: 'none' }); - uni.navigateBack() + uni.switchTab({ + url:"/pages/list/list" + }) }else{ uni.showModal({ title: '错误', diff --git a/uni_modules/uni-login-page/pages/index/pwd-login.vue b/uni_modules/uni-login-page/pages/index/pwd-login.vue index b36f658c..c05b5fd0 100644 --- a/uni_modules/uni-login-page/pages/index/pwd-login.vue +++ b/uni_modules/uni-login-page/pages/index/pwd-login.vue @@ -135,7 +135,9 @@ title: '登陆成功', icon: 'none' }); - uni.navigateBack() + uni.switchTab({ + url:"/pages/list/list" + }) }else{ uni.showModal({ title: '错误', -- GitLab