🐛 修复 job 在 IDEA 报错的问题

This commit is contained in:
YunaiV
2023-12-03 18:11:54 +08:00
parent 85fe4ad8d6
commit 5eb30c7e85
5 changed files with 15 additions and 9 deletions

View File

@@ -62,7 +62,10 @@ const formData = ref({
name: '',
handlerName: '',
handlerParam: '',
cronExpression: ''
cronExpression: '',
retryCount: undefined,
retryInterval: undefined,
monitorTimeout: undefined
})
const formRules = reactive({
name: [{ required: true, message: '任务名称不能为空', trigger: 'blur' }],
@@ -124,7 +127,10 @@ const resetForm = () => {
name: '',
handlerName: '',
handlerParam: '',
cronExpression: ''
cronExpression: '',
retryCount: undefined,
retryInterval: undefined,
monitorTimeout: undefined
}
formRef.value?.resetFields()
}