tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

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

Open Darkingtail opened this issue 8 months ago • 0 comments

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

Darkingtail avatar Apr 12 '25 08:04 Darkingtail