update:优化测距展示

This commit is contained in:
2026-09-03 10:35:16 +08:00
parent 74bfd7a327
commit c8533de5cf
3 changed files with 0 additions and 3 deletions
-1
View File
@@ -155,7 +155,6 @@ onBeforeUnmount(() => {
</button>
<view class="warnning-text">
<block v-if="statusText">
<text v-if="distance > 0">当前距离{{ distance }}</text>
<text>{{ statusText }}</text>
</block>
<block v-else>
@@ -113,7 +113,6 @@ onBeforeUnmount(() => {
</button>
<view class="warnning-text">
<block v-if="statusText">
<text v-if="distance > 0">当前距离{{ distance }}</text>
<text>{{ statusText }}</text>
</block>
<block v-else>
@@ -150,7 +150,6 @@ onBeforeUnmount(() => {
<view class="warnning-text">
<view class="target-tip">当前靶纸为<text class="text-yellow">{{ targetType }}cm</text>全环靶</view>
<block v-if="statusText">
<text v-if="distance > 0">当前距离<text class="text-yellow">{{ distance }}</text></text>
<text>{{ statusText }}</text>
</block>
<block v-else>