代码优化
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user