[Doc] default slot name

This commit is contained in:
陈嘉涵
2019-04-30 17:32:00 +08:00
parent 2bb01b4a63
commit cd0720954c
65 changed files with 97 additions and 98 deletions
+2 -2
View File
@@ -176,14 +176,14 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
### Tabs Slot
| name | Description |
| Name | Description |
|------|------|
| nav-left | Custom nav left content |
| nav-right | Custom nav right content |
### Tab Slot
| name | Description |
| Name | Description |
|------|------|
| default | Content of tab |
| title | Custom tab title |
+1 -1
View File
@@ -194,7 +194,7 @@ export default {
### Tabs Event
| 事件名 | 说明 | 参数 |
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| click | 点击标签时触发 | index:标签索引,title:标题 |
| change | 当前激活的标签改变时触发 | index:标签索引,title:标题 |