diff --git a/pages/ucenter/settings/settings.vue b/pages/ucenter/settings/settings.vue index f11a7c74ae4f502f99c598702ba4ba8cc74e8396..3e1aa49b95518206dcc0d0aa7d20361471f97fba 100644 --- a/pages/ucenter/settings/settings.vue +++ b/pages/ucenter/settings/settings.vue @@ -75,7 +75,7 @@ changePwd(){ if(this.userInfo){ uni.navigateTo({ - url:'/uni_modules/uni-login-page/pages/index/pwd-retrieve?phoneNumber='+ this.userInfo.phone +'&phoneArea=+86' + url:'/uni_modules/uni-login-page/pages/index/pwd-retrieve?phoneNumber='+ (this.userInfo.phone||'') +'&phoneArea=+86' }); } else { uni.showToast({ 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 3da8f46a04cb7d170526299168a96f3634e39b11..9985cf58c2c833c210a3b986f799f87d586d361e 100644 --- a/uni_modules/uni-login-page/pages/index/phone-code.vue +++ b/uni_modules/uni-login-page/pages/index/phone-code.vue @@ -91,15 +91,16 @@ }, success: (e) => { console.log(e); - // uni.showToast({ - // title: JSON.stringify(e.result), - // icon: 'none' - // }); - uni.showModal({ - content: JSON.stringify(e.result), - showCancel: false, - confirmText: '知道了' + uni.showToast({ + title: JSON.stringify(e.result), + icon: 'none' }); + + // uni.showModal({ + // content: JSON.stringify(e.result), + // showCancel: false, + // confirmText: '知道了' + // }); // 发送成功后开启倒计时 done(); }, 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 08740bdc8ae9e97ac9583d0983d8a4df36782c33..2c69480243524c1fb1d40c3910eeabeeb883c6fd 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: '错误', diff --git a/uni_modules/uni-login-page/pages/index/pwd-retrieve.vue b/uni_modules/uni-login-page/pages/index/pwd-retrieve.vue index 4a61549537b7e39b0e148936d0e7305579ca60a8..e83a7a24a8e75380dd31e83f6a4c2c46c78cfd20 100644 --- a/uni_modules/uni-login-page/pages/index/pwd-retrieve.vue +++ b/uni_modules/uni-login-page/pages/index/pwd-retrieve.vue @@ -4,7 +4,7 @@ 重置密码 - + @@ -124,15 +124,15 @@ import mixin from '../../common/loginPage.mixin.js'; }, success: (e) => { console.log(e); - // uni.showToast({ - // title: JSON.stringify(e.result), - // icon: 'none' - // }); - uni.showModal({ - content: JSON.stringify(e.result), - showCancel: false, - confirmText: '知道了' + uni.showToast({ + title: JSON.stringify(e.result), + icon: 'none' }); + // uni.showModal({ + // content: JSON.stringify(e.result), + // showCancel: false, + // confirmText: '知道了' + // }); // 发送成功后开启倒计时 done(); },