named anonymous functions
This commit is contained in:
@@ -139,7 +139,7 @@ export default {
|
||||
.then(response => {
|
||||
this.serverInfo = response.data;
|
||||
})
|
||||
.catch(function(error) {
|
||||
.catch(function handleGetServerInfoError(error) {
|
||||
throw error;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
export default {
|
||||
created() {
|
||||
var outText = "";
|
||||
this.$_.forEach(this.$store.state.logArray, function(value) {
|
||||
this.$_.forEach(this.$store.state.logArray, function appendLogItem(value) {
|
||||
outText += value + "\n";
|
||||
});
|
||||
this.logText = outText;
|
||||
|
||||
@@ -81,7 +81,7 @@ export default {
|
||||
.then(() => {
|
||||
this.$router.replace({ name: "home" });
|
||||
})
|
||||
.catch(function(error) {
|
||||
.catch(function handleCaughtLoginError(error) {
|
||||
/* xeslint-disable-next-line */
|
||||
if (
|
||||
error.message &&
|
||||
|
||||
Reference in New Issue
Block a user