qingyiay
2023-10-16 546863eae7d337d47260d63a4b3733f7313ce52d
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 }) {