This commit is contained in:
2020-10-08 20:31:06 +00:00
parent 5d0ed46c56
commit 6b357b8500
21 changed files with 32 additions and 111 deletions

View File

@@ -111,10 +111,7 @@ export default {
if (res.error) {
if (res.error.code == "2010") {
window.$gz.eventBus.$emit("notify-error", vm.$ay.t("ErrorAPI2010"));
window.$gz._.delay(function() {
vm.$router.go(-1);
}, 2000);
window.$gz.form.handleObjectNotFound(vm);
}
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);