mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 02:41:46 +08:00
docs(PickerGroup): fix missing tabs prop (#11486)
This commit is contained in:
parent
2dcb4e39b1
commit
082a596568
@ -86,7 +86,11 @@ Place two `DatePicker` components in the default slot of `PickerGroup` to select
|
|||||||
@confirm="onConfirm"
|
@confirm="onConfirm"
|
||||||
@cancel="onCancel"
|
@cancel="onCancel"
|
||||||
>
|
>
|
||||||
<van-date-picker v-model="startDate" :min-date="minDate" :max-date="maxDate" />
|
<van-date-picker
|
||||||
|
v-model="startDate"
|
||||||
|
:min-date="minDate"
|
||||||
|
:max-date="maxDate"
|
||||||
|
/>
|
||||||
<van-date-picker v-model="endDate" :min-date="minDate" :max-date="maxDate" />
|
<van-date-picker v-model="endDate" :min-date="minDate" :max-date="maxDate" />
|
||||||
</van-picker-group>
|
</van-picker-group>
|
||||||
```
|
```
|
||||||
@ -162,7 +166,8 @@ export default {
|
|||||||
### Props
|
### Props
|
||||||
|
|
||||||
| Attribute | Description | Type | Default |
|
| Attribute | Description | Type | Default |
|
||||||
| ------------------- | ---------------------- | -------- | --------- |
|
| ------------------- | ---------------------- | ---------- | --------- |
|
||||||
|
| tabs | Titles of tabs | _string[]_ | `[]` |
|
||||||
| title | Toolbar title | _string_ | `''` |
|
| title | Toolbar title | _string_ | `''` |
|
||||||
| confirm-button-text | Text of confirm button | _string_ | `Confirm` |
|
| confirm-button-text | Text of confirm button | _string_ | `Confirm` |
|
||||||
| cancel-button-text | Text of cancel button | _string_ | `Cancel` |
|
| cancel-button-text | Text of cancel button | _string_ | `Cancel` |
|
||||||
|
@ -86,7 +86,11 @@ export default {
|
|||||||
@confirm="onConfirm"
|
@confirm="onConfirm"
|
||||||
@cancel="onCancel"
|
@cancel="onCancel"
|
||||||
>
|
>
|
||||||
<van-date-picker v-model="startDate" :min-date="minDate" :max-date="maxDate" />
|
<van-date-picker
|
||||||
|
v-model="startDate"
|
||||||
|
:min-date="minDate"
|
||||||
|
:max-date="maxDate"
|
||||||
|
/>
|
||||||
<van-date-picker v-model="endDate" :min-date="minDate" :max-date="maxDate" />
|
<van-date-picker v-model="endDate" :min-date="minDate" :max-date="maxDate" />
|
||||||
</van-picker-group>
|
</van-picker-group>
|
||||||
```
|
```
|
||||||
@ -162,7 +166,8 @@ export default {
|
|||||||
### Props
|
### Props
|
||||||
|
|
||||||
| 参数 | 说明 | 类型 | 默认值 |
|
| 参数 | 说明 | 类型 | 默认值 |
|
||||||
| ------------------- | ------------ | -------- | ------ |
|
| ------------------- | ---------------- | ---------- | ------ |
|
||||||
|
| tabs | 设置标签页的标题 | _string[]_ | `[]` |
|
||||||
| title | 顶部栏标题 | _string_ | `''` |
|
| title | 顶部栏标题 | _string_ | `''` |
|
||||||
| confirm-button-text | 确认按钮文字 | _string_ | `确认` |
|
| confirm-button-text | 确认按钮文字 | _string_ | `确认` |
|
||||||
| cancel-button-text | 取消按钮文字 | _string_ | `取消` |
|
| cancel-button-text | 取消按钮文字 | _string_ | `取消` |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user