qingyiay
2023-10-23 5c2decc75ac02ba4409375efc4f793b02c505296
pages/tabbar-page/index-tabbar/index-tabbar.vue
@@ -174,7 +174,8 @@
               if (this.globalweighHouseCode && nowWeighObj.eqCode == this.globalweighHouseCode) {
                  this.changeWeigh(nowWeighObj.weigh);
                  this.changeinfraredStatus(!!nowWeighObj.eqInfraredStatus);
                  console.log(!!nowWeighObj.eqInfraredStatus, '红外状态');
                  let warningState = nowWeighObj.warning == 1
                  this.changeWarning(warningState)
               }
            } else if (v.startsWith('msg')) {
               function removeTags(str) {
@@ -204,7 +205,8 @@
      },
      methods: {
         ...mapMutations(['pushMessage', 'changeWeigh', 'changeinfraredStatus', 'changeisconnect', 'websocketInit',
            'changewsgVisiable', 'changewsgContent', 'changeconfirmWeighVisiable', 'changeconfirmWeighContent'
            'changewsgVisiable', 'changewsgContent', 'changeconfirmWeighVisiable', 'changeconfirmWeighContent',
            'changeWarning'
         ]),
         messagePage() {
            uni.navigateTo({