mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Cascader): update field-names type (#11052)
This commit is contained in:
parent
82883141a1
commit
282021de4e
@ -255,7 +255,7 @@ export default {
|
||||
| closeable | Whether to show close icon | _boolean_ | `true` |
|
||||
| show-header `v3.4.2` | Whether to show header | _boolean_ | `true` |
|
||||
| close-icon `v3.0.10` | Close icon name | _string_ | `cross` |
|
||||
| field-names `v3.0.4` | Custom the fields of options | _object_ | `{ text: 'text', value: 'value', children: 'children' }` |
|
||||
| field-names `v3.0.4` | Custom the fields of options | _CascaderFieldNames_ | `{ text: 'text', value: 'value', children: 'children' }` |
|
||||
|
||||
### Data Structure of CascaderOption
|
||||
|
||||
|
@ -265,7 +265,7 @@ export default {
|
||||
| closeable | 是否显示关闭图标 | _boolean_ | `true` |
|
||||
| show-header `v3.4.2` | 是否展示标题栏 | _boolean_ | `true` |
|
||||
| close-icon `v3.0.10` | 关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props) | _string_ | `cross` |
|
||||
| field-names `v3.0.4` | 自定义 `options` 结构中的字段 | _object_ | `{ text: 'text', value: 'value', children: 'children' }` |
|
||||
| field-names `v3.0.4` | 自定义 `options` 结构中的字段 | _CascaderFieldNames_ | `{ text: 'text', value: 'value', children: 'children' }` |
|
||||
|
||||
### CascaderOption 数据结构
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user