getMonth() + 1; // 月份从 0 开始,所以需要加 1 // 获取当前月份的起始时间 const startTime = `${currentDate.getFullYear()}-${currentMonth .toString() .padStart(2, '0')}-01 00:00:00`; // 获取当前月份的终止时间 const lastDay = new Date( currentDate.getFullYear(), currentMonth, ...
[Component] [time-picker] el-time-picker设置is-range后,选择时间后,点击取消按钮,会恢复上一次的时间或默认时间,然后需要再点一次才能关闭选择器弹窗 Component Environment Vue Version:3.4.21 Element Plus Version:2.8.4 Browser / OS:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36...
element-plus / element-plus Public Notifications Fork 15.8k Star 24.1k Code Issues 1.4k Pull requests 377 Discussions Actions Projects 2 Security Insights Issue Mark Duplicate [Component] [date-picker] DateTimePicker 日期时间选择器 default-time 默认的起始与结束时刻问题 #23122 Sign in...
element-plus / element-plus Public Sponsor Notifications Fork 16.2k Star 24.3k Code Issues 1.4k Pull requests 389 Discussions Actions Projects 2 Security Insights Issue Labeled [Component] [time-picker] el-time-picker设置is-range后,选择时间后,点击取消按钮,会恢复上一次的时间或默认时间...