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

fix: Datetime render error if minDate is set and value is undefined #378

Merged
merged 1 commit into from
Jun 15, 2019

Conversation

eternalsky
Copy link
Contributor

new Date value 为 undefined 时,new Date 返回为 invalid Date,与不传的效果不同。之前的写法没有考虑 value 为空的情况,导致该情况下如果有 minDate ,会有渲染报错。

@veryStarters veryStarters merged commit 24e95c2 into master Jun 15, 2019
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

Successfully merging this pull request may close these issues.

2 participants