Skip to content

a-date-picker使用disabledDate时,年份被错误的禁用 #6566

@ChuShiZ

Description

@ChuShiZ
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

v1.7.8

Environment

window 10,Edge 115.0.1843.0 (正式版本) dev,vue2.6.10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1、使用disabledDate属性禁用一个日期之前的所有日期(这个日期距离当前日期或者当前选择的日期不能超过一年)
2、选择日期,点击年份通过年份进行选择,此时发现,年份被错误的禁选

What is expected?

年份可以照常选择

What is actually happening?

年份不能照常选择了
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions