hilongjw/vue-progressbar

Using progress bar with axios interceptors is causing hanging isssues

Opened this issue · 0 comments

SDVII commented

Description:
I have implemented some axios interceptors to refresh the auth token. After the implementation, the progress bar sometimes keeps loading and prevents navigation. The issue was resolved after commenting out the progress bar.

Steps to reproduce

  1. Implement some lengthy axios interceptors (something that depends on a promise or something similar)
  2. Add the progress bar to your default view
  3. Perform some navigations while triggering the interceptor