This commit is contained in:
2020-06-23 23:52:22 +00:00
parent aaa4f5ce28
commit 5078e80a20
3 changed files with 11 additions and 8 deletions

View File

@@ -407,7 +407,8 @@ export default {
}, 2000);
}
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);
window.$gz.form.setErrorBoxErrors(vm);
vm.formState.loading = false;
} else {
vm.obj = res.data;
//modify the menu as necessary
@@ -423,9 +424,8 @@ export default {
}
} catch (error) {
window.$gz.errorHandler.handleFormError(error, vm);
} finally {
vm.formState.loading = false;
}
}
},
async submit() {
let vm = this;