[fix] 修复倒计时组件 showSeconds 不起效的问题

This commit is contained in:
zhengliming
2024-02-24 20:53:01 +08:00
parent 5f94e80b73
commit 00c4852afb
@@ -72,6 +72,7 @@
class="tn-countdown__item" class="tn-countdown__item"
:class="[backgroundColorClass]" :class="[backgroundColorClass]"
:style="[itemStyle]" :style="[itemStyle]"
v-if="showSeconds"
> >
<view class="tn-countdown__item__time" :class="[fontColorClass]" :style="[letterStyle]"> <view class="tn-countdown__item__time" :class="[fontColorClass]" :style="[letterStyle]">
{{ s }} {{ s }}
@@ -86,7 +87,6 @@
> >
{{ separator === 'en' ? '' : '秒'}} {{ separator === 'en' ? '' : '秒'}}
</view> </view>
</view>
</view> </view>