Przeglądaj źródła

fix: auth guard for wxwork

Future 2 dni temu
rodzic
commit
372740e9d1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/app/app.routes.ts

+ 1 - 1
src/app/app.routes.ts

@@ -310,7 +310,7 @@ export const routes: Routes = [
   // 2. 网页端: 通过 contactId/projectId 直接加载,配合 profileId 参数
   {
     path: 'wxwork/:cid',
-    // canActivate: [WxworkAuthGuard], // 可选:使用路由守卫强制认证
+    canActivate: [WxworkAuthGuard],
     children: [
       // 项目预加载页(企微上下文入口)
       {