[Doc] use ts-style type

This commit is contained in:
陈嘉涵
2019-07-11 20:35:41 +08:00
parent 32f19c5561
commit 019c75506a
120 changed files with 1288 additions and 1288 deletions
+15 -15
View File
@@ -140,14 +140,14 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Identifier of current tab | `String | Number` | `0` |
| fixed | Whether to fixed bottom | `Boolean` | `true` |
| border | Whether to show border | `Boolean` | `true` |
| z-index | Z-index | `Number` | `1` |
| active-color | Color of active tab item | `String` | `#1989fa` |
| inactive-color | Color of inactive tab item | `String` | `#7d7e80` |
| route | Whether to enable route mode | `Boolean` | `false` |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | `Boolean` | `false` |
| v-model | Identifier of current tab | `string | number` | `0` |
| fixed | Whether to fixed bottom | `boolean` | `true` |
| border | Whether to show border | `boolean` | `true` |
| z-index | Z-index | `number` | `1` |
| active-color | Color of active tab item | `string` | `#1989fa` |
| inactive-color | Color of inactive tab item | `string` | `#7d7e80` |
| route | Whether to enable route mode | `boolean` | `false` |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | `boolean` | `false` |
### Tabbar Events
@@ -159,13 +159,13 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| name | Identifier | `String | Number` | Item index |
| icon | Icon name | `String` | - |
| dot | Whether to show red dot | `Boolean` | - |
| info | Info message | `String | Number` | - |
| url | Link | `String` | - |
| to | Target route of the link, same as to of vue-router | `String | Object` | - |
| replace | If true, the navigation will not leave a history record | `Boolean` | `false` |
| name | Identifier | `string | number` | Item index |
| icon | Icon name | `string` | - |
| dot | Whether to show red dot | `boolean` | - |
| info | Info message | `string | number` | - |
| url | Link | `string` | - |
| to | Target route of the link, same as to of vue-router | `string | object` | - |
| replace | If true, the navigation will not leave a history record | `boolean` | `false` |
### TabbarItem Slots