From 20ae88664bdbb4ae21ec3b13338d906ff1b7431a Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期五, 28 六月 2024 18:02:25 +0800
Subject: [PATCH] 解决H5重置密码报错问题

---
 store/index.js |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/store/index.js b/store/index.js
index 142591c..c8e5e5e 100644
--- a/store/index.js
+++ b/store/index.js
@@ -57,6 +57,12 @@
 			text: '楠岃川'
 		},
 		{
+			pagePath: 'pages/customer-page/zhijian-bangfang/zhijian-bangfang',
+			iconPath: '../../static/tabBar-icon/bang.png',
+			selectedIconPath: '../../static/tabBar-icon/bangblue.png',
+			text: '纾呮埧'
+		},
+		{
 			pagePath: 'pages/customer-page/customer-my/faYunstatistics/faYunstatistics',
 			iconPath: '../../static/tabBar-icon/statistics.png',
 			selectedIconPath: '../../static/tabBar-icon/statisticsactive.png',
@@ -177,6 +183,7 @@
 		// 璁剧疆搴曢儴鏍�
 		setUserTabbar(state, roleType) {
 			state.roleType = roleType
+			console.log(roleType,'roledType===')
 			if (roleType === 1) {
 				state.userTabbar = userRoleTabbar.first
 				uni.setStorageSync('userTabbar', state.userTabbar)
@@ -305,10 +312,10 @@
 			state.socketTask = null
 			commit('changereconnectState', false)
 			if ((state.connectNum < 6 || state.connectNum.connectNum < 6) && state.globalisLogin) {
-				uni.showToast({
-					title: '杩炴帴澶辫触锛屾鍦ㄥ皾璇曢噸鏂拌繛鎺�',
-					icon: 'none'
-				})
+				// uni.showToast({
+				// 	title: '杩炴帴澶辫触锛屾鍦ㄥ皾璇曢噸鏂拌繛鎺�',
+				// 	icon: 'none'
+				// })
 				commit('changereconnectNum', { connectNum: 1, isWeigh: false })
 				dispatch('reconnect')
 			} else if (state.connectNum >= 6 && state.globalisLogin) {
@@ -329,10 +336,10 @@
 			state.socketTask = null
 			commit('changereconnectState', false)
 			if (state.connectNum < 6 || state.connectNum.connectNum < 6 && state.globalisLogin) {
-				uni.showToast({
-					title: '杩炴帴澶辫触锛屾鍦ㄥ皾璇曢噸鏂拌繛鎺�',
-					icon: 'none'
-				})
+				// uni.showToast({
+				// 	title: '杩炴帴澶辫触锛屾鍦ㄥ皾璇曢噸鏂拌繛鎺�',
+				// 	icon: 'none'
+				// })
 				commit('changereconnectNum', { connectNum: 1, isWeigh: false })
 				dispatch('reconnect')
 			} else if (state.connectNum > 6 && state.globalisLogin) {
@@ -361,7 +368,8 @@
 		}
 	},
 	getters: {
-		websocketData:(state) => state.websocketData
+		websocketData:(state) => state.websocketData,
+		globalweigh:(state) => state.globalweigh
 	}
 })
 

--
Gitblit v1.9.1