packageA/pages/device/control.vue
@@ -244,6 +244,15 @@ timer: null, realFaults: [], allFaults: [{ id: 0, name: '急停报警(总)', type: 1, position: { top: 40, left: 230 }, show: false },{ id: 1, name: '设备急停(总)', type: 1, @@ -623,7 +632,7 @@ break; //topic 实时报警 case topics.realFaultTopic: case topics.oneceFaultTopic: case topics.oneceFaultTopic: if (!this.model.connected) { return false } @@ -770,7 +779,7 @@ } this.$mqttTool.publish(opts).then(res => { console.error(res) //console.error(res) }) },