Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

a-date-picker 选择999出现NaN #8343

Open
@perfectDefect

Description

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

Version

3.2.14

Environment

window11

Reproduction link

<a-form-item label="生日:" name="birthday">
 <a-date-picker v-model:value="formData.birthday" value-format="YYYY-MM-DD" />
</a-form-item>
<script setup>

const formRef = ref();

let formData = ref({});

const formRules = {
birthday: [{ required: true, trigger: "change", message: "选择生日!" }],
};

const layout = {

labelCol: {
span: 3,
},
]
wrapperCol: {
span: 21,
},

};

</script>

Steps to reproduce

选择999年日期点击确定在打开日期组建

What is expected?

999-01-01

What is actually happening?

NaN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /