pro-components
pro-components copied to clipboard
👑 [需求]把table的columns的时间搜索那项的valueType设置成dateTimeRange,选择日期之后,不能设置默认开始时间为0时0分0秒,结束时间默认为23时59分59秒
trafficstars
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🔩 所属模块或组件
🥰 需求描述
⛰ 功能需求适用场景
🧐 解决方案
🚑 其他信息
设置下
{
"fieldProps": {
"showTime": {
"defaultValue": [
dayjs("00:00:00", 'HH:mm:ss'),
dayjs("23:59:59", 'HH:mm:ss'),
]
}
}
}
defaultValue 及 presets 只支持dayjs格式,所以字符串要用dayjs格式化下