docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+13 -13
View File
@@ -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
+1 -1
View File
@@ -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` | - |