Skip to content

🐛 [Bug]:[Vue warn]: Invalid prop: type check failed for prop "startDate". Expected Object, got Date #3295

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

Open
Darkingtail opened this issue Apr 12, 2025 · 0 comments · May be fixed by #3296
Labels
bug Something isn't working

Comments

@Darkingtail
Copy link
Contributor

Version

2.21.0

Vue Version

2.7.16

Link to minimal reproduction

vue的dev版本,单独安装的time-picker组件,其子组件time-spinner的props中startDate、endDate源码中接收Object类型的

Image

,应该是Date | string | number

Step to reproduce

使用time-picker,isRange为true

What is expected

No response

What is actually happening

No response

What is your project name

darkingtail

Any additional comments (optional)

No response

@github-actions github-actions bot added the bug Something isn't working label Apr 12, 2025
@Darkingtail Darkingtail changed the title 🐛 [Bug]: 🐛 [Bug]:[Vue warn]: Invalid prop: type check failed for prop "startDate". Expected Object, got Date Apr 12, 2025
Darkingtail added a commit to Darkingtail/tiny-vue that referenced this issue Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant