-
Notifications
You must be signed in to change notification settings - Fork 31
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
日历组件的格式希望可以使用prop指定 #111
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
传入格式为YYYY-MM-DD的值时,在组件上操作选择任意日期,modalValue又会被改变成YYYY/MM/DD
看源码中generateDateStr方法其实是已经把输出值固定写死了使用斜杠的,那感觉传入值支持横杠也就失去意义了,因为处理组件时还是得考虑不同格式的情况。
既然组件已经依赖了dayjs,希望可以将format字段作为属性暴露给外部来覆盖
The text was updated successfully, but these errors were encountered: