This commit is contained in:
2026-06-02 13:34:54 +08:00
parent d7469b9622
commit 4d9b763d18
46 changed files with 0 additions and 2718 deletions

View File

@@ -1,19 +0,0 @@
import type { Router } from "vue-router";
/**
* 通用路由守卫
*/
function setupCommonGuard(router: Router) {
// @ts-ignore
router.beforeEach(async (to, from) => {
// TODO: 路由守卫
return true;
});
}
// 路由守卫
function createRouterGuard(router: Router) {
setupCommonGuard(router);
}
export { createRouterGuard };