diff --git a/packages/vant/src/picker-group/README.md b/packages/vant/src/picker-group/README.md index 1a1bd16a1..667cca2b4 100644 --- a/packages/vant/src/picker-group/README.md +++ b/packages/vant/src/picker-group/README.md @@ -86,7 +86,11 @@ Place two `DatePicker` components in the default slot of `PickerGroup` to select @confirm="onConfirm" @cancel="onCancel" > - + ``` @@ -161,11 +165,12 @@ export default { ### Props -| Attribute | Description | Type | Default | -| ------------------- | ---------------------- | -------- | --------- | -| title | Toolbar title | _string_ | `''` | -| confirm-button-text | Text of confirm button | _string_ | `Confirm` | -| cancel-button-text | Text of cancel button | _string_ | `Cancel` | +| Attribute | Description | Type | Default | +| ------------------- | ---------------------- | ---------- | --------- | +| tabs | Titles of tabs | _string[]_ | `[]` | +| title | Toolbar title | _string_ | `''` | +| confirm-button-text | Text of confirm button | _string_ | `Confirm` | +| cancel-button-text | Text of cancel button | _string_ | `Cancel` | ### Slots diff --git a/packages/vant/src/picker-group/README.zh-CN.md b/packages/vant/src/picker-group/README.zh-CN.md index cee0c4da1..102ac1fd8 100644 --- a/packages/vant/src/picker-group/README.zh-CN.md +++ b/packages/vant/src/picker-group/README.zh-CN.md @@ -86,7 +86,11 @@ export default { @confirm="onConfirm" @cancel="onCancel" > - + ``` @@ -161,11 +165,12 @@ export default { ### Props -| 参数 | 说明 | 类型 | 默认值 | -| ------------------- | ------------ | -------- | ------ | -| title | 顶部栏标题 | _string_ | `''` | -| confirm-button-text | 确认按钮文字 | _string_ | `确认` | -| cancel-button-text | 取消按钮文字 | _string_ | `取消` | +| 参数 | 说明 | 类型 | 默认值 | +| ------------------- | ---------------- | ---------- | ------ | +| tabs | 设置标签页的标题 | _string[]_ | `[]` | +| title | 顶部栏标题 | _string_ | `''` | +| confirm-button-text | 确认按钮文字 | _string_ | `确认` | +| cancel-button-text | 取消按钮文字 | _string_ | `取消` | ### Slots