mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 06:42:26 +00:00
fix: When the scheduled synchronization interval is empty, the submission fails
This commit is contained in:
parent
59945ad798
commit
910bef6695
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user