mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +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
|
||||
wx:if="{{ info !== null }}"
|
||||
wx:if="{{ info !== null && info !== '' }}"
|
||||
class="custom-class van-info"
|
||||
style="{{ customStyle }}"
|
||||
>{{ info }}</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user