-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed as not planned
Labels
Description
<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>