Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using vuex-persist in axios interceptors will throw error #23

Closed
stupidsongshu opened this issue Jan 17, 2018 · 2 comments
Closed

using vuex-persist in axios interceptors will throw error #23

stupidsongshu opened this issue Jan 17, 2018 · 2 comments

Comments

@stupidsongshu
Copy link

1
I want to set loading status in the axios's interceptor when emit a http request, but I find the js doesn't work after the http error(eg.timeout or the net is terrible) is catched.

@stupidsongshu
Copy link
Author

I tried to remove the vuex-persist and only used the vuex, the js worked well after http catched errors.

@championswimmer
Copy link
Owner

Can you provide the stacktraces and console error statements ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants