From 4e4842518007726677c1dd23dc57f3448e7b08b4 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期二, 30 七月 2024 17:37:35 +0800
Subject: [PATCH] feat:库管首页修改细节

---
 pages/login/resetPassword/resetPassword.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pages/login/resetPassword/resetPassword.vue b/pages/login/resetPassword/resetPassword.vue
index b469dc4..b111af3 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"'
@@ -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