refactor: 个人中心页面重构和布局代码优化

This commit is contained in:
Ray.Hao
2026-06-21 14:09:27 +08:00
parent 7ffcf8820e
commit 845d117f08
68 changed files with 4026 additions and 3418 deletions

View File

@@ -75,18 +75,13 @@ export function setupPermissionGuard() {
}
});
router.afterEach((to) => {
router.afterEach(() => {
NProgress.done();
});
}
// ============================================
// 多租户支持(可选)
// ============================================
/** 初始化多租户上下文,未启用或失败时静默跳过 */
async function initTenantContext(): Promise<void> {
// 多租户关闭时不初始化租户上下文
if (!isTenantEnabled()) return;
try {

View File

@@ -12,7 +12,7 @@ export const constantRoutes: RouteRecordRaw[] = [
children: [
{
path: "/redirect/:path(.*)",
component: () => import("@/views/redirect/index.vue"),
component: () => import("@/views/common/redirect.vue"),
},
],
},