From 2adce788c1a411959b81f08d5569d92861c7f300 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期二, 17 十月 2023 16:54:52 +0800
Subject: [PATCH] 删除无用代码 修改部分逻辑 调整部分样式

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

diff --git a/store/index.js b/store/index.js
index fd6fdcb..bd9cb60 100644
--- a/store/index.js
+++ b/store/index.js
@@ -147,12 +147,11 @@
 		wsgContent: '',
 		globalIsFirstWeighing: 1, //鏄惁鏄涓�娆′笂纾�
 		confirmWeighVisiable: false, //纾呮埧绠$悊纭绉伴噸瀹屾垚鎻愮ず寮圭獥
-		confirmWeighContent: ''
+		confirmWeighContent: '',
+		// 绉伴噸绋冲畾鎬�  0/绋冲畾 1/闈炵ǔ瀹�  闈炵ǔ瀹氭�佷笉鑳界偣绉伴噸
+		globalWarning: false,
 	},
 	mutations: {
-		lengthchange(state, payload) {
-			state.fleetDriverDataLength = payload
-		},
 		setUserInfo(state, identity) {
 			state.userInfo = userObj[identity]
 		},
@@ -244,7 +243,11 @@
 		},
 		changeconfirmWeighContent(state, payload) {
 			state.confirmWeighContent = payload
-		}
+		},
+		// 鏀瑰彉绋冲畾鎬�
+		changeWarning(state, payload) {
+			state.globalWarning = payload
+		},
 	},
 	actions: {
 		websocketInit({ state, dispatch, commit }) {

--
Gitblit v1.9.1