mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-20 21:39:15 +08:00
docs(Cascader): fix docs error (#11867)
This commit is contained in:
parent
c58b66ee33
commit
2250013978
@ -255,12 +255,12 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| v-model | Value of selected option | _string \| number_ | - |
|
||||
| title | Title | _string_ | - |
|
||||
| value | Value of selected option | _string \| number_ | - |
|
||||
| options | Options | _CascaderOption[]_ | `[]` |
|
||||
| placeholder | Placeholder of unselected tab | _string_ | `Select` |
|
||||
| active-color | Active color | _string_ | `#1989fa` |
|
||||
| swipeable | Whether to enable gestures to slide left and right | _boolean_ | `false` |
|
||||
| swipeable | Whether to enable gestures to slide left and right | _boolean_ | `true` |
|
||||
| closeable | Whether to show close icon | _boolean_ | `true` |
|
||||
| show-header | Whether to show header | _boolean_ | `true` |
|
||||
| close-icon | Close icon name | _string_ | `cross` |
|
||||
|
@ -327,12 +327,12 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| v-model | 选中项的值 | _string \| number_ | - |
|
||||
| title | 顶部标题 | _string_ | - |
|
||||
| value | 选中项的值 | _string \| number_ | - |
|
||||
| options | 可选项数据源 | _CascaderOption[]_ | `[]` |
|
||||
| placeholder | 未选中时的提示文案 | _string_ | `请选择` |
|
||||
| active-color | 选中状态的高亮颜色 | _string_ | `#1989fa` |
|
||||
| swipeable | 是否开启手势左右滑动切换 | _boolean_ | `false` |
|
||||
| swipeable | 是否开启手势左右滑动切换 | _boolean_ | `true` |
|
||||
| closeable | 是否显示关闭图标 | _boolean_ | `true` |
|
||||
| show-header | 是否展示标题栏 | _boolean_ | `true` |
|
||||
| close-icon | 关闭图标名称或图片链接,等同于 Icon 组件的 [name 属性](#/zh-CN/icon#props) | _string_ | `cross` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user