fix modal

This commit is contained in:
Chuck1sn
2025-05-14 11:01:18 +08:00
parent 3bd5698ce2
commit 79e1f597b6

View File

@@ -49,16 +49,14 @@ const { job, closeModal, onSubmit } = defineProps<{
const alertStore = useAlertStore();
const formData = ref({});
const formData = ref();
watch(
() => job,
(newJob) => {
if (newJob) {
formData.value = {
cronExpression: newJob.cronExpression,
cronExpression: newJob?.cronExpression,
};
}
},
{ immediate: true },
);