Files
WAI_Project_UNIX/router/index.ts

13 lines
380 B
TypeScript
Raw Permalink Normal View History

2025-10-16 18:28:57 +08:00
import { isNull, router, useStore } from "@/cool";
2025-07-21 16:47:04 +08:00
/**
* pages.json
* @param to
* @param from
* @param next
*/
2026-01-21 01:37:34 +08:00
// 全局路由拦截 - 已移除强制登录逻辑,支持游客模式浏览
router.beforeEach((to, from, next) => {
2026-01-21 01:37:34 +08:00
next();
});