named anonymous functions

This commit is contained in:
2019-04-18 19:51:21 +00:00
parent 7770b8bad1
commit 8cdae969fb
13 changed files with 43 additions and 39 deletions

View File

@@ -235,7 +235,7 @@ export default {
that.obj = res.data;
}
})
.catch(function(error) {
.catch(function handleGetDataFromAPIError(error) {
that.$gzHandleFormError(error, that);
});
},
@@ -265,7 +265,7 @@ export default {
}
}
})
.catch(function(error) {
.catch(function handleSubmitError(error) {
that.$gzHandleFormError(error, that);
});
}