mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fixed: Restore continues to add the ability to clear the form
This commit is contained in:
@@ -169,8 +169,6 @@ export default {
|
||||
form.validate(valid => {
|
||||
if (valid) {
|
||||
this.$emit('submit', form.getFormValue(), form, addContinue)
|
||||
|
||||
if (addContinue) this.resetForm()
|
||||
} else {
|
||||
this.$emit('invalid', valid)
|
||||
scrollToError(form.$el)
|
||||
|
||||
Reference in New Issue
Block a user