From 97d88adcdfa7e13b2203c8716c02866fae087704 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期二, 26 九月 2023 09:38:47 +0800
Subject: [PATCH] 修改磅房忙碌问题及其他问题

---
 store/index.js |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/store/index.js b/store/index.js
index 3a3d5eb..8485ad9 100644
--- a/store/index.js
+++ b/store/index.js
@@ -144,7 +144,8 @@
 			'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj44.jpg',
 		],
 		wsgVisiable: false, //纾呮埧蹇欑寮圭獥鎺у埗
-		wsgContent: ''
+		wsgContent: '',
+		globalIsFirstWeighing: 1 //鏄惁鏄涓�娆′笂纾�
 	},
 	mutations: {
 		lengthchange(state, payload) {
@@ -225,6 +226,9 @@
 		},
 		changewsgContent(state, payload) {
 			state.wsgContent = payload
+		},
+		changeglobalIsFirstWeighing(state, payload) {
+			state.globalIsFirstWeighing = payload
 		}
 	},
 	actions: {
@@ -245,6 +249,7 @@
 					console.log('ws澶辫触');
 					commit('changereconnectState', false)
 					dispatch('reconnect')
+					commit('changeisconnect', false)
 				}
 			})
 			state.socketTast.onOpen(() => dispatch('websocketOnOpen'))

--
Gitblit v1.9.1