element-plus [Bug Report] When setting the disabled-hours attribute for < el-date-picker>, the second parameter of the callback function is always undefined.

2ledvvac  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(50)

Element Plus version

2.3.5

OS/Browsers version

window10/chrome114

Vue version

3.3.2

https://codepen.io/dcba/pen/wvQgzPZ

Steps to reproduce

打开日期选择器,打开时-分选择器,打印信息中第2个一直是undefined
Open the date picker, open the hour-minute selector, and the second one in the printed information is always undefined.

What is Expected?

disabled-hours回调函数的第2个参数comparingDate应该是当前修改的(还未点确定按钮前的)日期
The second parameter, comparingDate, of the disabled-hours callback function should have a value.

What is actually happening?

disabled-hours回调函数的第2个参数comparingDate一直是undefined

相关问题