docs: update numeric type

This commit is contained in:
陈嘉涵
2020-01-29 10:11:09 +08:00
parent 36ba412f70
commit c6f424baa7
85 changed files with 197 additions and 197 deletions
+4 -4
View File
@@ -158,10 +158,10 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Identifier of current tab | *string \| number* | `0` |
| v-model | Identifier of current tab | *number \| string* | `0` |
| fixed | Whether to fixed bottom | *boolean* | `true` |
| border | Whether to show border | *boolean* | `true` |
| z-index | Z-index | *string \| number* | `1` |
| z-index | Z-index | *number \| string* | `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` |
@@ -177,10 +177,10 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| name | Identifier | *string \| number* | Item index |
| name | Identifier | *number \| string* | Item index |
| icon | Icon name | *string* | - |
| dot | Whether to show red dot | *boolean* | - |
| info | Content of the badge | *string \| number* | - |
| info | Content of the badge | *number \| string* | - |
| 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` |