From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007

---
 h5/pages/staffLogin/login.vue |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/h5/pages/staffLogin/login.vue b/h5/pages/staffLogin/login.vue
index 81d457b..28a2a8e 100644
--- a/h5/pages/staffLogin/login.vue
+++ b/h5/pages/staffLogin/login.vue
@@ -68,7 +68,8 @@
 			<view class="modal">
 				<!-- <view v-html="htmlText"></view> -->
 				<view class="content">
-					<mp-html :content="htmlText" />
+					<!-- <mp-html :content="htmlText" /> -->
+					<u-parse :content="htmlText"></u-parse>
 				</view>
 			</view>
 		</u-popup>
@@ -81,7 +82,7 @@
 		loginH5ByPhone,
 		getUserInfo,
 		getSystemDictData,
-		saveHkUserOpenid,
+		saveHkUserOpenid,
 		sendSms
 	} from '@/api'
 	import {
@@ -95,7 +96,7 @@
 			return {
 				form: {
 					// username: '18655749830',
-					username: null,
+					username: null,
 					phone: null,
 					password: null,
 					code: null
@@ -159,7 +160,7 @@
 						title: '楠岃瘉鐮佷笉鑳戒负绌�',
 						icon: 'none'
 					})
-				}
+				}
 				let fn = activeTab == 0 ? loginPost : loginH5ByPhone
 				fn({
 					...form,
@@ -175,8 +176,7 @@
 							})
 						})
 						saveHkUserOpenid({})
-					} else {
-					}
+					} else {}
 				})
 			},
 			...mapMutations(["setToken", "setUserInfo"]),
@@ -215,11 +215,13 @@
 				sendSms({
 					phone: this.form.phone
 				}).then(res => {
-					this.countDown = 60
-					setInterval(() => {
-						if (this.countDown == 0) return
-						this.countDown--
-					}, 1000)
+					if (res.code === 200) {
+						this.countDown = 60
+						setInterval(() => {
+							if (this.countDown == 0) return
+							this.countDown--
+						}, 1000)
+					}
 				})
 			}
 		}

--
Gitblit v1.9.3