|
@@ -64,8 +64,8 @@ router.beforeEach(async (to, from) => {
|
|
|
const main = useMainStore();
|
|
|
|
|
|
if (!to.query.ticket && !window.localStorage.getItem('Authorization')) {
|
|
|
- // window.location.href = BaseLoginUrl;
|
|
|
- // return false;
|
|
|
+ window.location.href = BaseLoginUrl;
|
|
|
+ return false;
|
|
|
}
|
|
|
|
|
|
if (to.query.ticket && !window.localStorage.getItem('Authorization')) {
|