cancel() disables loading now
This commit is contained in:
parent
bae9ee5ef9
commit
511edfb5b9
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ export default {
|
||||||
context.loading = true
|
context.loading = true
|
||||||
}, 100);
|
}, 100);
|
||||||
return () => {
|
return () => {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout)
|
||||||
|
context.loading = false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
error(e, context) {
|
error(e, context) {
|
||||||
|
|
Loading…
Reference in a new issue