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

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

No files matched your search

+1 -6
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 {