change: link back to login on refresh error
This commit is contained in:
parent
4821be0c8c
commit
d7160d6550
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ http.interceptors.response.use(
|
|||
.then(() => {
|
||||
return http(originalRequest);
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch(() => {
|
||||
router.push({ name: "login" });
|
||||
});
|
||||
}
|
||||
|
||||
const notificationStore = useNotificationStore();
|
||||
|
|
Loading…
Add table
Reference in a new issue