named anonymous functions
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user