Browse Source

fix: 可能发生的问题

master
guoapeng 1 week ago
parent
commit
813b67c3e7
  1. 13
      src/views/debug/index.vue

13
src/views/debug/index.vue

@ -194,14 +194,14 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<!-- 右侧电机电流 & 加热温度 -->
<div class="debug-env-right">
<div v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" 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 v-if="deviceType !== deviceState.deviceTypeMap.DrawBarDM" 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>
@ -220,7 +220,12 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<hr class="divider">
<div class="debug-lower">
<section>
<div v-if="![deviceState.deviceTypeMap.LargeSpaceDM_B, deviceState.deviceTypeMap.DrawBarDM].includes(deviceType)" 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>
@ -256,7 +261,7 @@ const deviceType = computed(() => __DEVICE_TYPE__)
<bt-button button-text="关闭" @click="heatingDoClose" />
</div>
</div>
<div v-if="[deviceState.deviceTypeMap.LargeSpaceDM_B, deviceState.deviceTypeMap.DrawBarDM].includes(deviceType)" 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>

Loading…
Cancel
Save