fix(ApolloMutation): return result in mutate
This commit is contained in:
@@ -82,6 +82,7 @@ export default {
|
|||||||
}).then(result => {
|
}).then(result => {
|
||||||
this.$emit('done', result)
|
this.$emit('done', result)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
return result
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
addGqlError(e)
|
addGqlError(e)
|
||||||
this.error = e
|
this.error = e
|
||||||
|
|||||||
Reference in New Issue
Block a user