mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +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"
|
custom-class="icon-class"
|
||||||
info-class="info-class"
|
info-class="info-class"
|
||||||
/>
|
/>
|
||||||
<slot wx:else name="icon" />
|
<view wx:else>
|
||||||
|
<slot name="icon" />
|
||||||
|
</view>
|
||||||
<text class="text-class">{{ text }}</text>
|
<text class="text-class">{{ text }}</text>
|
||||||
</van-button>
|
</van-button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user