diff --git a/src/components/Test.vue b/src/components/Test.vue
index 045285b..7178cdd 100644
--- a/src/components/Test.vue
+++ b/src/components/Test.vue
@@ -185,7 +185,7 @@
-
空压机通道
+
设备工作模式
湿度 {{ deviceStore.binHumidity }} ℃
过氧化氢浓度 {{ deviceStore.binHP }} PPM
-
+
空压机阀1
{
}
const changeChannel = flag => {
- if (flag == 1) {
+ if (flag == 1) { // 消毒模式
websocketStore.sendCommandMsg(airCompressorChannelSelectJSON([2]))
sealStore.updateAirCompressorChannelSelectVal(2)
- } else {
+ changeAirValve1(1)
+ changeAirValve2(1)
+ } else { // 气密性测试
websocketStore.sendCommandMsg(airCompressorChannelSelectJSON([1]))
sealStore.updateAirCompressorChannelSelectVal(1)
+ changeAirValve1(2)
+ changeAirValve2(2)
}
}