diff --git a/packages/vant/src/cascader/README.md b/packages/vant/src/cascader/README.md index de5a25db6..593529b48 100644 --- a/packages/vant/src/cascader/README.md +++ b/packages/vant/src/cascader/README.md @@ -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` | diff --git a/packages/vant/src/cascader/README.zh-CN.md b/packages/vant/src/cascader/README.zh-CN.md index 0f5867d1f..971e9588f 100644 --- a/packages/vant/src/cascader/README.zh-CN.md +++ b/packages/vant/src/cascader/README.zh-CN.md @@ -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` |