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

View File

@@ -165,10 +165,10 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| v-model | 当前选中标签的名称或索引值 | *string \| number* | `0` |
| v-model | 当前选中标签的名称或索引值 | *number \| string* | `0` |
| fixed | 是否固定在底部 | *boolean* | `true` |
| border | 是否显示外边框 | *boolean* | `true` |
| z-index | 元素 z-index | *string \| number* | `1` |
| z-index | 元素 z-index | *number \| string* | `1` |
| active-color | 选中标签的颜色 | *string* | `#1989fa` |
| inactive-color | 未选中标签的颜色 | *string* | `#7d7e80` |
| route | 是否开启路由模式 | *boolean* | `false` |
@@ -184,10 +184,10 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| name | 标签名称,作为匹配的标识符 | *string \| number* | 当前标签的索引值 |
| name | 标签名称,作为匹配的标识符 | *number \| string* | 当前标签的索引值 |
| icon | [图标名称](#/zh-CN/icon) 或图片链接| *string* | - |
| dot | 是否显示图标右上角小红点 | *boolean* | `false` |
| info | 图标右上角徽标的内容 | *string \| number* | - |
| info | 图标右上角徽标的内容 | *number \| string* | - |
| url | 点击后跳转的链接地址 | *string* | - |
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - |
| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` |