This commit is contained in:
Pengxiansen
2025-02-24 20:24:27 +08:00
parent 8627d11239
commit 76a7070020
15 changed files with 254 additions and 140 deletions

View File

@@ -190,7 +190,7 @@ const rulesRef = ref({
],
});
const { validate } = Form.useForm(formData.info, rulesRef);
let validate = Form.useForm(formData.value.info, rulesRef).validate;
const closeDrawer = () => {
if (step.value > 1) {
@@ -267,6 +267,7 @@ function openDrawer(row) {
dayjs(row.info.evaluationStartTime, "YYYY-MM-DD HH:mm"),
dayjs(row.info.evaluationEndTime, "YYYY-MM-DD HH:mm"),
]);
row && (validate = Form.useForm(formData.value.info, rulesRef).validate);
visible.value = true;
}