From 96db936c641b23897636ff6a15e31f8f87964342 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期三, 11 十月 2023 13:44:05 +0800 Subject: [PATCH] 确定装卸逻辑修改 增加称重时稳定态 --- store/index.js | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/store/index.js b/store/index.js index fd6fdcb..9e1b08f 100644 --- a/store/index.js +++ b/store/index.js @@ -147,7 +147,9 @@ wsgContent: '', globalIsFirstWeighing: 1, //鏄惁鏄涓�娆′笂纾� confirmWeighVisiable: false, //纾呮埧绠$悊纭绉伴噸瀹屾垚鎻愮ず寮圭獥 - confirmWeighContent: '' + confirmWeighContent: '', + // 绉伴噸绋冲畾鎬� 0/绋冲畾 1/闈炵ǔ瀹� 闈炵ǔ瀹氭�佷笉鑳界偣绉伴噸 + globalWarning: false, }, mutations: { lengthchange(state, payload) { @@ -244,7 +246,11 @@ }, changeconfirmWeighContent(state, payload) { state.confirmWeighContent = payload - } + }, + // 鏀瑰彉绋冲畾鎬� + changeWarning(state, payload) { + state.globalWarning = payload + }, }, actions: { websocketInit({ state, dispatch, commit }) { -- Gitblit v1.9.1