-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
@perfectDefect
<script setup>
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>
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
Labels
No labels