docs: update version tag
This commit is contained in:
+18
-18
@@ -99,27 +99,27 @@ Vue.use(Grid).use(GridItem);
|
||||
|
||||
### Grid Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| column-num | Column Num | *number* | `4` | 2.0.4 |
|
||||
| gutter | Gutter | *string \| number* | `0` | - |
|
||||
| border | Whether to show border | *boolean* | `true` | - |
|
||||
| center | Whether to center content | *boolean* | `true` | - |
|
||||
| square | Whether to be square shape | *boolean* | `false` | - |
|
||||
| clickable | Whether to show click feedback when clicked | *boolean* | `false` | - |
|
||||
| icon-size | Icon size | *string \| number* | `28px` | 2.2.6 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| column-num `v2.0.4` | Column Num | *number* | `4` |
|
||||
| gutter | Gutter | *string \| number* | `0` |
|
||||
| border | Whether to show border | *boolean* | `true` |
|
||||
| center | Whether to center content | *boolean* | `true` |
|
||||
| square | Whether to be square shape | *boolean* | `false` |
|
||||
| clickable | Whether to show click feedback when clicked | *boolean* | `false` |
|
||||
| icon-size `v2.2.6` | Icon size | *string \| number* | `28px` |
|
||||
|
||||
### GridItem Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| text | Text | *string* | - | - |
|
||||
| icon | Icon name or URL | *string* | - | - |
|
||||
| dot | Whether to show red dot | *boolean* | `false` | 2.2.1 |
|
||||
| info | Content of the badge | *string \| number* | - | 2.2.1 |
|
||||
| url | Link URL | *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` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| text | Text | *string* | - |
|
||||
| icon | Icon name or URL | *string* | - |
|
||||
| dot `v2.2.1` | Whether to show red dot | *boolean* | `false` |
|
||||
| info `v2.2.1` | Content of the badge | *string \| number* | - |
|
||||
| url | Link URL | *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` |
|
||||
|
||||
### GridItem Events
|
||||
|
||||
|
||||
+18
-18
@@ -117,27 +117,27 @@ Vue.use(Grid).use(GridItem);
|
||||
|
||||
### Grid Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| column-num | 列数 | *number* | `4` | 2.0.4 |
|
||||
| gutter | 格子之间的间距,默认单位为`px` | *string \| number* | `0` | - |
|
||||
| border | 是否显示边框 | *boolean* | `true` | - |
|
||||
| center | 是否将格子内容居中显示 | *boolean* | `true` | - |
|
||||
| square | 是否将格子固定为正方形 | *boolean* | `false` | - |
|
||||
| clickable | 是否开启格子点击反馈 | *boolean* | `false` | - |
|
||||
| icon-size | 图标大小,默认单位为`px` | *string \| number* | `28px` | 2.2.6 |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| column-num `v2.0.4` | 列数 | *number* | `4` |
|
||||
| gutter | 格子之间的间距,默认单位为`px` | *string \| number* | `0` |
|
||||
| border | 是否显示边框 | *boolean* | `true` |
|
||||
| center | 是否将格子内容居中显示 | *boolean* | `true` |
|
||||
| square | 是否将格子固定为正方形 | *boolean* | `false` |
|
||||
| clickable | 是否开启格子点击反馈 | *boolean* | `false` |
|
||||
| icon-size `v2.2.6` | 图标大小,默认单位为`px` | *string \| number* | `28px` |
|
||||
|
||||
### GridItem Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| text | 文字 | *string* | - | - |
|
||||
| icon | 图标名称或图片链接,可选值见 [Icon 组件](#/zh-CN/icon) | *string* | - | - |
|
||||
| dot | 是否显示图标右上角小红点 | *boolean* | `false` | 2.2.1 |
|
||||
| info | 图标右上角徽标的内容 | *string \| number* | - | 2.2.1 |
|
||||
| url | 点击后跳转的链接地址 | *string* | - | - |
|
||||
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - |
|
||||
| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| text | 文字 | *string* | - |
|
||||
| icon | 图标名称或图片链接,可选值见 [Icon 组件](#/zh-CN/icon) | *string* | - |
|
||||
| dot `v2.2.1` | 是否显示图标右上角小红点 | *boolean* | `false` |
|
||||
| info `v2.2.1` | 图标右上角徽标的内容 | *string \| number* | - |
|
||||
| url | 点击后跳转的链接地址 | *string* | - |
|
||||
| to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - |
|
||||
| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` |
|
||||
|
||||
### GridItem Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user