store/index.js
@@ -107,7 +107,8 @@ connectNum: 1, //重连次数, reconnectTimeOut: null, // 称重稳定态 0/稳定 1/非稳定 非稳定态不能点称重 globalWarning: false globalWarning: false, globalShowWeigh: [] }, mutations: { lengthchange(state, payload) { @@ -180,6 +181,9 @@ // 改变稳定态 changeWarning(state, payload) { state.globalWarning = payload }, changeglobalShowWeigh(state, payload) { state.globalShowWeigh = payload } }, actions: {