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

date-picker mode接口设置decade报warning #3463

Closed
1 task
merfais opened this issue Dec 29, 2020 · 2 comments
Closed
1 task

date-picker mode接口设置decade报warning #3463

merfais opened this issue Dec 29, 2020 · 2 comments

Comments

@merfais
Copy link

merfais commented Dec 29, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

ant-design-vue": "^1.7.1 ""vue": "^2.6.11"

Reproduction link

Edit on CodeSandbox

Steps to reproduce

change panel to decade mode, in devtools console log : [VueTypes warn]: oneOf - value should be one of "time", "date", "month", "year"

What is expected?

do not warning

What is actually happening?

log warning

@merfais
Copy link
Author

merfais commented Dec 29, 2020

DatePicker 组件, mode接口,设置值为 decade报warning, 接口校验有问题

image

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants