mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 07:16:46 +08:00
提交
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user