mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-03 16:01:48 +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) => {
|
form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
btn.loading = true
|
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) {
|
handleSubmitSuccess(res) {
|
||||||
this.$emit('update:visible', false)
|
this.$emit('update:visible', false)
|
||||||
|
Loading…
Reference in New Issue
Block a user