mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-13 13:49:07 +00:00
fixed: Fixed the issue when adding
This commit is contained in:
@@ -169,7 +169,8 @@ export default {
|
||||
form.validate(valid => {
|
||||
if (valid) {
|
||||
this.$emit('submit', form.getFormValue(), form, addContinue)
|
||||
this.resetForm()
|
||||
|
||||
if (addContinue) this.resetForm()
|
||||
} else {
|
||||
this.$emit('invalid', valid)
|
||||
scrollToError(form.$el)
|
||||
|
Reference in New Issue
Block a user