From 491249bdf736a5f7d50417c889ad2db734b12383 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期四, 07 九月 2023 10:22:07 +0800
Subject: [PATCH] 操作指引修改

---
 store/index.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/store/index.js b/store/index.js
index e9c61e3..1ee03b7 100644
--- a/store/index.js
+++ b/store/index.js
@@ -107,7 +107,9 @@
 		connectNum: 1, //閲嶈繛娆℃暟,
 		reconnectTimeOut: null,
 		// 绉伴噸绋冲畾鎬�  0/绋冲畾 1/闈炵ǔ瀹�  闈炵ǔ瀹氭�佷笉鑳界偣绉伴噸
-		globalWarning: false
+		globalWarning: false,
+		globalShowWeigh: [],
+		isFirstLogin: true
 	},
 	mutations: {
 		lengthchange(state, payload) {
@@ -180,6 +182,13 @@
 		// 鏀瑰彉绋冲畾鎬�
 		changeWarning(state, payload) {
 			state.globalWarning = payload
+		},
+		changeglobalShowWeigh(state, payload) {
+			state.globalShowWeigh = payload
+		},
+		changeisFirstLogin(state, payload) {
+			state.isFirstLogin = payload
+			console.log(state.isFirstLogin, '绗竴娆$櫥褰�');
 		}
 	},
 	actions: {
@@ -262,7 +271,7 @@
 				})
 				commit('changereconnectNum', 1)
 				dispatch('reconnect')
-			} else if (state.connectNum > 6 && state.globalisLogin) {
+			} else if (state.connectNum >= 6 && state.globalisLogin) {
 				commit('changereconnectNum', 1)
 				uni.showToast({
 					title: '缃戠粶寮傚父,璇风◢鍚庨噸璇�',

--
Gitblit v1.9.1