Browse Source

根据设备类型判断是否显示测试项

master
王梦远 1 week ago
parent
commit
8118dfa530
  1. 6
      src/views/debug/index.vue

6
src/views/debug/index.vue

@ -234,7 +234,7 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<bt-button button-text="停止" @click="liquidFillingPumpDoStop" />
</div>
</div>
<div v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" class="debug-left-lh">
<div class="debug-left-lh">
<div class="debug-label">
空压机控制
</div>
@ -256,7 +256,7 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<bt-button button-text="关闭" @click="heatingDoClose" />
</div>
</div>
<div v-if="deviceType !== deviceState.deviceTypeMap.LargeSpaceDM_B" class="debug-left-lh">
<div v-if="[deviceState.deviceTypeMap.LargeSpaceDM_B, deviceState.deviceTypeMap.DrawBarDM].includes(deviceType)" class="debug-left-lh">
<div class="debug-label">
气密性阀门模式
</div>
@ -298,7 +298,7 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<bt-button button-text="停止" @click="onClosePump" />
</div>
</div>
<div v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" class="debug-left-lh">
<div class="debug-left-lh">
<div class="debug-label">
风机控制
</div>

Loading…
Cancel
Save