From 48a4ff3409804fc62139a9fa9fc05498cbc0a0ce Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 05 九月 2024 17:41:02 +0800 Subject: [PATCH] feat:库管拼单 --- pages/login/resetPassword/resetPassword.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/login/resetPassword/resetPassword.vue b/pages/login/resetPassword/resetPassword.vue index b469dc4..3aec41c 100644 --- a/pages/login/resetPassword/resetPassword.vue +++ b/pages/login/resetPassword/resetPassword.vue @@ -54,7 +54,7 @@ </div> </view> <u-form-item prop="secondPassword" - label="浜屾纭" + label="纭瀵嗙爜" required borderBottom> <u-input v-if='inputType==="password"' @@ -129,7 +129,7 @@ const regex2 = /^[A-Za-z]+$/ // 鏍¢獙绗﹀彿 const regex3 = - /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]路~锛丂#锟�%鈥︹��&*锛堬級鈥斺�擻-+={}|銆娿�嬶紵锛氣�溾�濄�愩�戙�侊紱鈥�'锛屻�傘�乚+$/ + /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]路~锛丂#锟�%鈥︹��&*锛堬級鈥斺�擻-+={}|銆娿�嬶紵锛氣�溾�濄�愩�戙�侊紱鈥�'锛屻�傘�乚+$/; if(regex1.test(value)) { this.level.push('low') return callback('瀵嗙爜寮哄害杩囦綆') @@ -223,7 +223,6 @@ // this.getUserInfo(params.phone, params.idCard) // } if(params.userInfo) { - console.log(JSON.parse(params.userInfo),'userInfo====') this.modelForm.username = JSON.parse(params.userInfo).username this.modelForm.userId = JSON.parse(params.userInfo).userId.toString() //userId if(JSON.parse(params.userInfo).isShowPassword) { @@ -232,6 +231,8 @@ this.isShowPassword = true } }else { + this.modelForm.username = uni.getStorageSync('userInfo').username + this.modelForm.userId = uni.getStorageSync('userInfo').userId.toString() this.isShowPassword = true } }, -- Gitblit v1.9.1