arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

希望 DatePicker 组件可以定制所有面板模式下的单元格样式

Open ankeycheng opened this issue 1 year ago • 0 comments

Basic Info

What are the similar cases of this feature

在 RangePicker 使用 cell 插槽时,意外发现在点击标题的年月按钮,切换模式后,组件仍可以渲染出 cell 插槽的自定义内容的,可以参照此特性,在插槽的参数中返回多一个 mode = 'year' | 'month' | 'quarter' | 'week' | 'date' 就可以让用户自行控制各个面板模式下渲染了

What problem does this feature solve?

现在组件仅支持自定义日期模式下的单元格样式,而点击标题的 [年-月] 按钮切换后,是无法进行自定义的,希望 cell 插槽能支持模式切换后的自定义样式

ankeycheng avatar Mar 06 '24 02:03 ankeycheng