Replies: 1 comment
-
这种场景只能用 Picker 组件封装一下了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这种怎么实现?
PickerGroup 是多个tab栏,但是我要DatePicker在前,TimePicker在后,并且DatePicker格式化成 月日加星期。
而不是tab栏
你期望的 API 是什么样子的?
<van-picker-group
title="预约日期"
:tabs="['选择日期', '选择时间']"
@confirm="state.showAppointment = !state.showAppointment"
@cancel="state.showAppointment = !state.showAppointment"
>
Beta Was this translation helpful? Give feedback.
All reactions