mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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"
|
||||
@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-picker-group>
|
||||
```
|
||||
@ -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
|
||||
|
||||
|
@ -86,7 +86,11 @@ export default {
|
||||
@confirm="onConfirm"
|
||||
@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-picker-group>
|
||||
```
|
||||
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user