xiaohaizhao 1 rok pred
rodič
commit
9cc3c4f36f

+ 1 - 1
control/components/prodnum-YK01/prodnum-YK01.vue

@@ -101,7 +101,7 @@ export default {
                         let data = newVal.params[key];
                         return {
                             name: data.paramname,
-                            value: data.lastvalue,
+                            value: data.lastvalue == 1,
                         }
                     }).filter(v => v.value);
                     this.showAlarms = this.$refs.alarms.list.length != 0;