From 43946aca83334ac3e1c3929a2d6dcba3f2bf6446 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期二, 17 十二月 2024 15:27:59 +0800
Subject: [PATCH] fix:小程序眼镜密码,h5历史收发单

---
 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