Skip to content

Commit

Permalink
docs(picker): update
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Feb 19, 2024
1 parent d0914e1 commit 6b0d92c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/packages/__VUE/picker/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Use the children field of the Columns attribute to cascade options
| --- | --- | --- | --- |
| v-model:value | Default Index | Array | `[]` |
| columns | Columns data | PickerOption[] \| PickerOption[][] | - |
| field-names`v4.1.4` | custom columns field | object | `{ text: 'text', value: 'value', children: 'children' }` |
| field-names`v4.1.4` | custom columns field | object | `{ text: 'text', value: 'value', children: 'children', className: 'className' }` |
| title | Toolbar title | string | - |
| cancel-text | Text of cancel button | string | `cancel` |
| ok-text | Text of confirm button | string | `confirm` |
Expand Down
2 changes: 1 addition & 1 deletion src/packages/__VUE/picker/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Picker 通常作为用于辅助表单填写,可以搭配 Popup 实现效果。
| --- | --- | --- | --- |
| v-model:value | 默认选中项 | Array | `[]` |
| columns | 对象数组,配置每一列显示的数据 | PickerOption[] \| PickerOption[][] | - |
| field-names`v4.1.4` | 自定义 columns 中的字段 | object | `{ text: 'text', value: 'value', children: 'children' }` |
| field-names`v4.1.4` | 自定义 columns 中的字段 | object | `{ text: 'text', value: 'value', children: 'children', className: 'className' }` |
| title | 设置标题 | string | - |
| cancel-text | 取消按钮文案 | string | `取消` |
| ok-text | 确定按钮文案 | string | `确定` |
Expand Down
2 changes: 1 addition & 1 deletion src/packages/__VUE/picker/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Picker 通常作为用于辅助表单填写,可以搭配 Popup 实现效果。
| --- | --- | --- | --- |
| v-model:value | 默认选中项 | Array | `[]` |
| columns | 对象数组,配置每一列显示的数据 | PickerOption[] \| PickerOption[][] | - |
| field-names`v4.1.4` | 自定义 columns 中的字段 | object | `{ text: 'text', value: 'value', children: 'children' }` |
| field-names`v4.1.4` | 自定义 columns 中的字段 | object | `{ text: 'text', value: 'value', children: 'children', className: 'className' }` |
| title | 设置标题 | string | - |
| cancel-text | 取消按钮文案 | string | `取消` |
| ok-text | 确定按钮文案 | string | `确定` |
Expand Down

0 comments on commit 6b0d92c

Please sign in to comment.