Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weui-date-picker type='datetime'中分钟是否能设置只有00和30选择 #146

Open
Alan-Lm opened this issue May 14, 2019 · 2 comments
Open

Comments

@Alan-Lm
Copy link

Alan-Lm commented May 14, 2019

weui-date-picker type='datetime'中分钟是否能设置只有00和30选择,比如2019-05-14 9:30和2019-05-14 10:00

@cipchk
Copy link
Owner

cipchk commented May 15, 2019

不支持,可以自行通过 weui-picker-group 实现。

@Alan-Lm
Copy link
Author

Alan-Lm commented May 15, 2019

不支持,可以自行通过 weui-picker-group 实现。

我使用了‘weui-picker’,使用change方法的返回值是
item: {
items: [
0: {label: "2019年", value: 2019}
1: {label: "5月", value: 5}
2: {label: "15日", value: 15}
3: {label: "15时", value: 15}
4: {label: "00分", value: 0}
],
value: "00分"
}
显示框显示为2019年5月15日15时00分,如何使它改为2019-05-15 15:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants