fix:【element-plus】getRangePickerDefaultProps 默认结束为 23:59:59

This commit is contained in:
YunaiV
2025-09-08 23:24:02 +08:00
parent 51d2d66f76
commit 2e38b1906d
2 changed files with 2 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ export function getRangePickerDefaultProps() {
format: 'HH:mm:ss',
},
transformDateFunc: (dates: any) => {
// TODO @xingyu貌似这个没用
if (dates && dates.length === 2) {
// 格式化为后台支持的时间格式
return [dates.createTime[0], dates.createTime[1]].join(',');