马宇豪
2025-03-04 1b9fea7d4af68d8f933b2dc42bf6084b9646f64c
src/router/index.ts
@@ -83,7 +83,10 @@
        } else if (token && to.path === '/newMenu') {
            next();
            NProgress.done();
        } else {
        } else if (token && (to.path === '/warningScreen' || to.path === '/screenPage')) {
            next();
            NProgress.done();
        }else {
            const storesRoutesList = useRoutesList(pinia);
            const { routesList } = storeToRefs(storesRoutesList);
            if (routesList.value.length === 0) {