mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix: readme document errors (#11401)
This commit is contained in:
parent
481298f279
commit
589b7b2998
@ -86,7 +86,7 @@ Place two `DatePicker` components in the default slot of `PickerGroup` to select
|
||||
@confirm="onConfirm"
|
||||
@cancel="onCancel"
|
||||
>
|
||||
<van-date-picker v-model="startEnd" :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>
|
||||
```
|
||||
@ -128,8 +128,8 @@ Place two `TimePicker` components in the default slot of `PickerGroup` to select
|
||||
@confirm="onConfirm"
|
||||
@cancel="onCancel"
|
||||
>
|
||||
<van-time-picker v-model="startEnd" />
|
||||
<van-time-picker v-model="endDate" />
|
||||
<van-time-picker v-model="startTime" />
|
||||
<van-time-picker v-model="endTime" />
|
||||
</van-picker-group>
|
||||
```
|
||||
|
||||
|
@ -86,7 +86,7 @@ export default {
|
||||
@confirm="onConfirm"
|
||||
@cancel="onCancel"
|
||||
>
|
||||
<van-date-picker v-model="startEnd" :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>
|
||||
```
|
||||
@ -128,8 +128,8 @@ export default {
|
||||
@confirm="onConfirm"
|
||||
@cancel="onCancel"
|
||||
>
|
||||
<van-time-picker v-model="startEnd" />
|
||||
<van-time-picker v-model="endDate" />
|
||||
<van-time-picker v-model="startTime" />
|
||||
<van-time-picker v-model="endTime" />
|
||||
</van-picker-group>
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user