mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Cell: value not rendered when passing zero (#844)
This commit is contained in:
parent
f7f82ff571
commit
3ce1aa0e7d
@ -23,7 +23,7 @@
|
||||
</view>
|
||||
|
||||
<view class="van-cell__value value-class">
|
||||
<block wx:if="{{ value }}">{{ value }}</block>
|
||||
<block wx:if="{{ value || value === 0 }}">{{ value }}</block>
|
||||
<slot wx:else />
|
||||
</view>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user