perf: 优化时间选择器

This commit is contained in:
奔跑的面条
2023-03-15 20:21:10 +08:00
parent 34b4eb77ba
commit 8f0f9ea334
5 changed files with 97 additions and 24 deletions
@@ -10,6 +10,8 @@ import { InputsDateConfig } from './index'
export const option = {
// 时间组件展示类型,必须和 interactActions 中定义的数据一致
[COMPONENT_INTERACT_EVENT_KET]: ComponentInteractEventEnum.DATE,
// 下拉展示
isPanel: 0,
dataset: dayjs().valueOf()
}