fix: When the scheduled synchronization interval is empty, the submission fails

This commit is contained in:
jiangweidong 2025-02-17 15:08:05 +08:00 committed by Bryan
parent 59945ad798
commit 910bef6695

View File

@ -71,10 +71,9 @@ export default {
form.validate((valid) => {
if (valid) {
btn.loading = true
this.$refs.form.$refs.form.dataForm.submitForm('form', false)
}
})
form.value.interval = parseInt(form.value.interval, 10)
this.$refs.form.$refs.form.dataForm.submitForm('form', false)
},
handleSubmitSuccess(res) {
this.$emit('update:visible', false)