5832-232601-dev_test #65
|
@ -1,7 +1,7 @@
|
|||
import axios from 'axios';
|
||||
import { Notify } from 'quasar';
|
||||
import { useSession } from 'src/composables/useSession';
|
||||
// import { Router } from 'src/router';
|
||||
import { Router } from 'src/router';
|
||||
import { i18n } from './i18n';
|
||||
|
||||
const session = useSession();
|
||||
|
@ -62,8 +62,7 @@ const onResponseError = (error) => {
|
|||
session.destroy();
|
||||
const hash = window.location.hash;
|
||||
const url = hash.slice(1);
|
||||
window.location.href = url;
|
||||
// Router.push({ path: url });
|
||||
Router.push({ path: url });
|
||||
} else if (!session.isLoggedIn()) {
|
||||
message = 'login.loginError';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue