docs: add version tip in en docs (#4262)
This commit is contained in:
+13
-13
@@ -184,19 +184,19 @@ When Picker columns data is acquired asynchronously, use `loading` prop to show
|
||||
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| columns | Columns data | `Column[]` | `[]` |
|
||||
| show-toolbar | Whether to show toolbar | `boolean` | `false` |
|
||||
| toolbar-position | Toolbar position, cat be set to `bottom` | `string` | `top` |
|
||||
| title | Toolbar title | `string` | `''` |
|
||||
| loading | Whether to show loading prompt | `boolean` | `false` |
|
||||
| value-key | Key of option text | `string` | `text` |
|
||||
| item-height | Option height | `number` | `44` |
|
||||
| confirm-button-text | Text of confirm button | `string` | `Confirm` |
|
||||
| cancel-button-text | Text of cancel button | `string` | `Cancel` |
|
||||
| visible-item-count | Count of visible columns | `number` | `5` |
|
||||
| default-index | Default value index of single column picker | `number` | `0` |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| columns | Columns data | `Column[]` | `[]` | - |
|
||||
| show-toolbar | Whether to show toolbar | `boolean` | `false` | - |
|
||||
| toolbar-position | Toolbar position, cat be set to `bottom` | `string` | `top` | - |
|
||||
| title | Toolbar title | `string` | `''` | - |
|
||||
| loading | Whether to show loading prompt | `boolean` | `false` | - |
|
||||
| value-key | Key of option text | `string` | `text` | - |
|
||||
| item-height | Option height | `number` | `44` | - |
|
||||
| confirm-button-text | Text of confirm button | `string` | `Confirm` | - |
|
||||
| cancel-button-text | Text of cancel button | `string` | `Cancel` | - |
|
||||
| visible-item-count | Count of visible columns | `number` | `5` | - |
|
||||
| default-index | Default value index of single column picker | `number` | `0` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
|------|------|------|------|------|
|
||||
| columns | 对象数组,配置每一列显示的数据 | `Column[]` | `[]` | - |
|
||||
| show-toolbar | 是否显示顶部栏 | `boolean` | `false` | - |
|
||||
| toolbar-position | 顶部栏位置,可选值为`bottom` | `string` | `top` | 2.0.0 |
|
||||
| toolbar-position | 顶部栏位置,可选值为`bottom` | `string` | `top` | - |
|
||||
| title | 顶部栏标题 | `string` | `''` | - |
|
||||
| loading | 是否显示加载状态 | `boolean` | `false` | - |
|
||||
| value-key | 选项对象中,文字对应的 key | `string` | `text` | - |
|
||||
|
||||
Reference in New Issue
Block a user