docs: remove all v2 version tag
This commit is contained in:
@@ -95,7 +95,7 @@ Use `badge` prop to show badge in icon.
|
||||
| --- | --- | --- | --- |
|
||||
| text | Button text | _string_ | - |
|
||||
| icon | Icon | _string_ | - |
|
||||
| color `v2.4.2` | Icon color | _string_ | `#323233` |
|
||||
| color | Icon color | _string_ | `#323233` |
|
||||
| icon-class | Icon class name | _any_ | `''` |
|
||||
| dot `2.5.5` | Whether to show red dot | _boolean_ | - |
|
||||
| badge `2.5.6` | Content of the badge | _number \| string_ | - |
|
||||
@@ -110,7 +110,7 @@ Use `badge` prop to show badge in icon.
|
||||
| text | Button text | _string_ | - |
|
||||
| type | Button type, Can be set to `primary` `info` `warning` `danger` | _string_ | `default` |
|
||||
| color | Button color, support linear-gradient | _string_ | - |
|
||||
| icon `v2.4.4` | Left Icon | _string_ | - |
|
||||
| icon | Left Icon | _string_ | - |
|
||||
| disabled | Whether to disable button | _boolean_ | `false` |
|
||||
| loading | Whether show loading status | _boolean_ | `false` |
|
||||
| url | Link | _string_ | - |
|
||||
|
||||
@@ -99,10 +99,10 @@ export default {
|
||||
| --- | --- | --- | --- |
|
||||
| text | 按钮文字 | _string_ | - |
|
||||
| icon | 图标 | _string_ | - |
|
||||
| color `v2.4.2` | 图标颜色 | _string_ | `#323233` |
|
||||
| color | 图标颜色 | _string_ | `#323233` |
|
||||
| icon-class | 图标额外类名 | _any_ | - |
|
||||
| dot `2.5.5` | 是否显示图标右上角小红点 | _boolean_ | `false` |
|
||||
| badge `v2.5.6` | 图标右上角徽标的内容 | _number \| string_ | - |
|
||||
| badge | 图标右上角徽标的内容 | _number \| string_ | - |
|
||||
| url | 点击后跳转的链接地址 | _string_ | - |
|
||||
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | _string \| object_ | - |
|
||||
| replace | 是否在跳转时替换当前页面历史 | _boolean_ | `false` |
|
||||
@@ -114,7 +114,7 @@ export default {
|
||||
| text | 按钮文字 | _string_ | - |
|
||||
| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | _string_ | `default` |
|
||||
| color | 按钮颜色,支持传入 `linear-gradient` 渐变色 | _string_ | - |
|
||||
| icon `v2.4.4` | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - |
|
||||
| icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - |
|
||||
| disabled | 是否禁用按钮 | _boolean_ | `false` | - |
|
||||
| loading | 是否显示为加载状态 | _boolean_ | `false` | - |
|
||||
| url | 点击后跳转的链接地址 | _string_ | - |
|
||||
|
||||
Reference in New Issue
Block a user