云
2026-10-25 c88ddec455babe8ed28649320caeb5d805d2f213
src/router/routes/modules/ai.ts
@@ -1,6 +1,8 @@
import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
import { isAiFeatureEnabled } from '#/utils/features';
const routes: RouteRecordRaw[] = isAiFeatureEnabled ? [
  {
    path: '/ai',
    name: 'Ai',
@@ -108,6 +110,6 @@
      },
    ],
  },
];
] : [];
export default routes;