|
|
@@ -88,12 +88,6 @@ router.beforeEach((to, from, next) => {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
-router.beforeEach((to, from, next) => {
|
|
|
- if (to.name !== HOME || !isUserLoggedIn()) {
|
|
|
- next();
|
|
|
- }
|
|
|
-});
|
|
|
-
|
|
|
router.afterEach((to, from) => {
|
|
|
if (to.matched.some((record) => record.meta.hideNavigator)) {
|
|
|
document.getElementsByTagName('header')[0]!.style.display = 'none';
|