https://4x.ant.design/components/date-picker-cn/ Steps to reproduce 1、访问官网链接,选择 组件 ->Date picker -> 自定义状态demo -> 最后一个示例; 2、 先选择一个时间区域,点击清空; 3、切换到前一个月,再选择一个月的第一天,然后快速划到月底或者下个月前几天; 4、点击第一天时,或者鼠标滑动过程...
展示的所有年份应该和月份显示的一样,都是可以选的样式 在现有的 Ant Design 仓库中,没有找到与ant-picker-cell-in-view类在年份选择中缺失直接相关的已知问题或解决方案。 您可以尝试以下方法来解决这个问题: 检查样式覆盖:确保没有其他的 CSS 样式覆盖了ant-picker-cell-in-view类的样式。 更新Ant Design:确认...
import { DatePicker, Space } from 'antd'; import React from 'react'; const App: React.FC = () => ( <Space direction="vertical" style={{ width: '100%' }}> <DatePicker status="error" style={{ width: '100%' }} /> <DatePicker status="warning" style={{ width: '100%' }} /...