From a54597994e1a2112cddcc356de93174525dd1710 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期三, 12 六月 2024 09:51:48 +0800 Subject: [PATCH] fix:修改密码页面加载失败错误弹窗 --- pages/login/resetPassword/resetPassword.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/login/resetPassword/resetPassword.vue b/pages/login/resetPassword/resetPassword.vue index 2c0addd..4ab6b80 100644 --- a/pages/login/resetPassword/resetPassword.vue +++ b/pages/login/resetPassword/resetPassword.vue @@ -221,7 +221,9 @@ if (this.roleType === 3) { this.userInfo = JSON.parse(params.userInfo) } else { - this.getUserInfo(params.phone, params.idCard) + if(params.phone && params.idCard){ + this.getUserInfo(params.phone, params.idCard) + } } if(params.userInfo) { console.log(JSON.parse(params.userInfo),'userInfo====') -- Gitblit v1.9.1