feat(GoodsActionButton): add default slot (#2779)

This commit is contained in:
rex 2020-02-21 16:44:15 +08:00 committed by GitHub
parent 4b58899594
commit dcd3665570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -26,4 +26,5 @@
bindlaunchapp="bindLaunchApp"
>
{{ text }}
<slot></slot>
</van-button>

View File

@ -159,6 +159,12 @@ Page({
|-----------|-----------|
| icon | 自定义图标 |
### GoodsActionButton Slot
| 名称 | 说明 |
|-----------|-----------|
| - | 按钮显示内容 |
### GoodsActionIcon 外部样式类
| 类名 | 说明 |