badge 修复数字改版以后,并没有触发ui改动 (#225)

This commit is contained in:
Yao 2018-05-07 23:01:48 +08:00 committed by GitHub
parent fd77f4736d
commit 8b15d95153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
<view class="zan-badge"> <view class="zan-badge">
<text <view
class="zan-badge__text" class="zan-badge__text"
style="color: {{ color }}; background-color: {{ backgroundColor }};font-size: {{ fontSize * 2 }}px; box-shadow: {{ boxShadow }};" style="color: {{ color }}; background-color: {{ backgroundColor }};font-size: {{ fontSize * 2 }}px; box-shadow: {{ boxShadow }};"
> >
<slot></slot> <slot></slot>
</text> </view>
</view> </view>