mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
fix(GoodsAction): add block for slot (#5496)
This commit is contained in:
parent
9ead748d91
commit
78c518bae8
@ -34,6 +34,8 @@
|
||||
custom-class="icon-class"
|
||||
info-class="info-class"
|
||||
/>
|
||||
<slot wx:else name="icon" />
|
||||
<view wx:else>
|
||||
<slot name="icon" />
|
||||
</view>
|
||||
<text class="text-class">{{ text }}</text>
|
||||
</van-button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user