From b8a7d477f894fcffc32c2d5fb1f3ff5bf6409fc4 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 07 七月 2023 14:25:41 +0800
Subject: [PATCH] 验质增加字段

---
 pages/login/login.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/pages/login/login.vue b/pages/login/login.vue
index d697aee..132f756 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -12,10 +12,15 @@
 				type="primary"
 				text="寰俊涓�閿櫥褰�"></u-button>
 		</view>
+		<!-- <view class="loginBtn">
+			<u-button @click.stop="jumpBindBack"
+				type="primary"
+				text="涓�閿粦瀹氭祴璇�"></u-button>
+		</view> -->
 		<view class="register"
 			@click="registerClick"><text>娉ㄥ唽</text></view>
 		<view class="login-bottom-box">
-			<view class="copyright">鍐�涓兘婧愭棤浜哄�煎畧寰俊灏忕▼搴�</view>
+			<view class="copyright">鏃犱汉鍊煎畧寰俊灏忕▼搴�</view>
 			<view class="copyright">灏忕▼搴忎粎渚涘凡鎷ユ湁绯荤粺璐﹀彿鐗瑰畾鍐呴儴浜哄憳浣跨敤</view>
 		</view>
 		<!-- 寰俊鎺堟潈鍓嶇殑寮规 -->
@@ -116,7 +121,6 @@
 					apiLoginWx({ code: code }).then(res => {
 						if (res.code != 1) {
 							this.$u.toast('鐧诲綍鎴愬姛');
-							this.changeisLogin(true);
 							// 鐧婚檰鎴愬姛锛屽瓨鍌ㄧ浉鍏充俊鎭�
 							setToken(res.access_token);
 							setRefreshToken(res.refresh_token);
@@ -131,7 +135,7 @@
 								this.$nextTick(() => {
 									redirectHome();
 								});
-							});
+							})
 						} else {
 							this.$u.toast(res.msg);
 							this.bindWxModelShow = true;
@@ -160,6 +164,12 @@
 				uni.navigateTo({
 					url: '/pages/register/register'
 				});
+			},
+			// 姝ゆ柟娉曞彧杩涜缁戝畾娴嬭瘯锛屽悗鏈熼�氳繃鎵爜瑙e喅
+			jumpBindBack() {
+				uni.navigateTo({
+					url: '/pages/bindBackground/bindBackground'
+				})
 			}
 		}
 	};

--
Gitblit v1.9.1