docs: add version tip in en docs (#4262)
This commit is contained in:
+23
-23
@@ -71,35 +71,35 @@ Use `info` prop to show messages in upper right corner of icon
|
||||
|
||||
### GoodsAction Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| 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` |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| 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` | - |
|
||||
|
||||
### GoodsActionIcon Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| text | Button text | `string` | - |
|
||||
| icon | Icon | `string` | - |
|
||||
| icon-class | Icon class name | `any` | `''` |
|
||||
| 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` |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| text | Button text | `string` | - | - |
|
||||
| icon | Icon | `string` | - | - |
|
||||
| icon-class | Icon class name | `any` | `''` | - |
|
||||
| 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` | - |
|
||||
|
||||
### GoodsActionButton Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| type | Button type, Can be set to `primary` `info` `warning` `danger` | `string` | `default` |
|
||||
| text | Button text | `string` | - |
|
||||
| color | Button color, support linear-gradient | `string` | - |
|
||||
| primary | Is primary button (red color) | `boolean` | `false` |
|
||||
| disabled | Whether to disable button | `boolean` | `false` |
|
||||
| loading | Whether show loading status | `boolean` | `false` |
|
||||
| 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` |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| text | Button text | `string` | - | - |
|
||||
| type | Button type, Can be set to `primary` `info` `warning` `danger` | `string` | `default` | - |
|
||||
| color | Button color, support linear-gradient | `string` | - | 2.1.8 |
|
||||
| primary | Is primary button (red color) | `boolean` | `false` | - |
|
||||
| disabled | Whether to disable button | `boolean` | `false` | - |
|
||||
| loading | Whether show loading status | `boolean` | `false` | - |
|
||||
| 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` | - |
|
||||
|
||||
### GoodsActionIcon Slots
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| text | 按钮文字 | `string` | - | - |
|
||||
| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | `string` | `default` | 2.0.0 |
|
||||
| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | `string` | `default` | - |
|
||||
| color | 按钮颜色,支持传入`linear-gradient`渐变色 | `string` | - | 2.1.8 |
|
||||
| disabled | 是否禁用按钮 | `boolean` | `false` | - | - |
|
||||
| loading | 是否显示为加载状态 | `boolean` | `false` | - | - |
|
||||
|
||||
Reference in New Issue
Block a user