代码优化

This commit is contained in:
kron
2025-10-09 18:14:07 +08:00
parent d2ce9f1026
commit fb0cf62ca0
3 changed files with 4 additions and 100 deletions

View File

@@ -43,7 +43,7 @@ const ringText = (ring) => {
<view class="container">
<view>
<view v-for="(b, index) in bars" :key="index">
<text v-if="b && b.rate * 100 > 0.1">
<text v-if="b && b.rate">
{{ Number((b.rate * 100).toFixed(1)) }}%
</text>
<view