[Vuejs]-How to repeat action with query, in case of authentication issues?

0👍

Use

  $axios.defaults.validateStatus = (status) => {
    return [200, 402].indexOf(status) !== -1;
  };

  $axios.onResponse(async (response) => {...}

Leave a comment