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 | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/store/index.js b/store/index.js index d0e432f..8485ad9 100644 --- a/store/index.js +++ b/store/index.js @@ -143,6 +143,9 @@ 'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj43.jpg', 'https://mx.jzeg.cn:9096/appimg/image/tour/driver/sj44.jpg', ], + wsgVisiable: false, //纾呮埧蹇欑寮圭獥鎺у埗 + wsgContent: '', + globalIsFirstWeighing: 1 //鏄惁鏄涓�娆′笂纾� }, mutations: { lengthchange(state, payload) { @@ -217,7 +220,15 @@ }, changeablePrintOut(state, payload) { state.ablePrintOut = payload - console.log(state.ablePrintOut, '鍑洪棬璇佲��'); + }, + changewsgVisiable(state, payload) { + state.wsgVisiable = payload + }, + changewsgContent(state, payload) { + state.wsgContent = payload + }, + changeglobalIsFirstWeighing(state, payload) { + state.globalIsFirstWeighing = payload } }, actions: { @@ -238,6 +249,7 @@ console.log('ws澶辫触'); commit('changereconnectState', false) dispatch('reconnect') + commit('changeisconnect', false) } }) state.socketTast.onOpen(() => dispatch('websocketOnOpen')) -- Gitblit v1.9.1