Skip to content

[Calendar] 为日历指定时间范围后,若当前选中月份大于设定结束时间的月份会导致结束时间的年份被禁用无法选中 #3734

@shumuuu

Description

@shumuuu

tdesign-vue 版本

1.14.1

重现链接

No response

重现步骤

假设设定时间范围["2018-8","2028-4"],在日历中选择2025年12月(大于设定的结束时间的月份)

期望结果

日历实际的结束时间与设置的一致

实际结果

日历可选择时间范围小于设定值(通过重现步骤来操作的话实际结果为2028年被禁用)

框架版本

Vue2.x均可

浏览器版本

Chrome(120.0.6099.225)

系统版本

Windows10 22H2(19045.2486)

Node版本

22.17.1

补充说明

官方文档中的示例里,可选择时间范围小于设定时间范围

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions