Add login modal experience (#16)

This commit is contained in:
AceDataCloud committed 2024-01-03 01:12:47 +08:00
1 parent d536508293
commit ccae7257e5
11 files changed
+95 -20

No files matched your search

+6 -6
View File
@@ -33,12 +33,12 @@ httpClient.interceptors.response.use(
(error) => {
if (error?.response?.status === 401) {
store.dispatch('resetToken');
router.push({
name: ROUTE_AUTH_LOGIN,
query: {
redirect: router?.currentRoute?.value?.path
}
});
// router.push({
// name: ROUTE_AUTH_LOGIN,
// query: {
// redirect: router?.currentRoute?.value?.path
// }
// });
}
return Promise.reject(error);
}