Browse Source

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

master
王梦远 1 week ago
parent
commit
b4634bf7b1
  1. 8
      src/views/debug/index.vue

8
src/views/debug/index.vue

@ -194,14 +194,14 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<!-- 右侧电机电流 & 加热温度 -->
<div class="debug-env-right">
<div class="env-content-p">
<div v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" class="env-content-p">
<span class="label">空压机电流</span>
<span class="value">
<span class="debug-text">{{ formatValue(debugStore.debugPageState?.airCompressorCurrent) }}</span>
<span class="unit">A</span>
</span>
</div>
<div class="env-content-p">
<div v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" class="env-content-p">
<span class="label">风机电流</span>
<span class="value">
<span class="debug-text">{{ formatValue(debugStore.debugPageState?.blowerCurrent) }}</span>
@ -234,7 +234,7 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<bt-button button-text="停止" @click="liquidFillingPumpDoStop" />
</div>
</div>
<div class="debug-left-lh">
<div v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" 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 class="debug-left-lh">
<div v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" class="debug-left-lh">
<div class="debug-label">
风机控制
</div>

Loading…
Cancel
Save