fix: apollo components should have emits (#1504)
This commit is contained in:
@@ -52,6 +52,8 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
emits: [ 'loading', 'done', 'error' ],
|
||||
|
||||
watch: {
|
||||
loading (value) {
|
||||
this.$emit('loading', value)
|
||||
|
||||
@@ -15,6 +15,8 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
emits: [ 'loading', 'result', 'error' ],
|
||||
|
||||
props: {
|
||||
query: {
|
||||
type: [Function, Object],
|
||||
|
||||
Reference in New Issue
Block a user