mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-09 22:49:45 +08:00
[fix] Icon: should not render info when value is empty string (#1888)
This commit is contained in:
parent
f44a74e5c1
commit
550333a4f6
@ -1,5 +1,5 @@
|
|||||||
<view
|
<view
|
||||||
wx:if="{{ info !== null }}"
|
wx:if="{{ info !== null && info !== '' }}"
|
||||||
class="custom-class van-info"
|
class="custom-class van-info"
|
||||||
style="{{ customStyle }}"
|
style="{{ customStyle }}"
|
||||||
>{{ info }}</view>
|
>{{ info }}</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user