mirror of
https://github.com/vuejs/apollo.git
synced 2026-02-01 14:37:18 +00:00
fix(useQuery): loading status on error
This commit is contained in:
parent
e337836fb9
commit
93e6c5b93a
@ -96,6 +96,8 @@ export function useQuery<
|
||||
|
||||
function onError (queryError: any) {
|
||||
error.value = queryError
|
||||
loading.value = false
|
||||
networkStatus.value = 8
|
||||
}
|
||||
|
||||
let onStopHandlers: (() => void)[] = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user