[new feature] GoodsActionIcon: add icon slot (#3705)

This commit is contained in:
neverland
2019-07-01 14:55:18 +08:00
committed by GitHub
parent a7b4b4c219
commit bb43ff270d
5 changed files with 63 additions and 8 deletions
+13
View File
@@ -118,3 +118,16 @@ export default {
| url | 跳转链接 | `String` | - | - |
| to | 路由跳转对象,同 vue-router 的 to 属性 | `String | Object` | - | - |
| replace | 跳转时是否替换当前页面历史 | `Boolean` | `false` | - |
### GoodsActionIcon Slots
| 名称 | 说明 |
|------|------|
| default | 文本内容 |
| icon | 自定义图标 |
### GoodsActionButton Slots
| 名称 | 说明 |
|------|------|
| default | 按钮显示内容 |