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

Datepicker 对于valueformat支持问题 #61

Open
StarFishing opened this issue May 26, 2021 · 1 comment
Open

Datepicker 对于valueformat支持问题 #61

StarFishing opened this issue May 26, 2021 · 1 comment

Comments

@StarFishing
Copy link

版本为ant-design-vue版本的2.x版本。在使用插件后使用Datepicker的valueformat属性出现问题
<RangePicker :placeholder="['开始时间', '结束时间']" value-format="x" ></RangePicker>
注意 value-format="x"这里的x被advancedFormatjs插件支持,但是事实却无法支持,导致如下报错
When set valueFormat, value should provides invalidate string time.
对应源码位置
image

@xinrulianhua
Copy link

xinrulianhua commented Dec 24, 2021

我也遇到了,跟antd也有关系

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