ソースを参照

白名单问题

CzRger 2 日 前
コミット
c102efd062
共有2 個のファイルを変更した6 個の追加6 個の削除を含む
  1. 6 0
      src/router/index.ts
  2. 0 6
      src/router/modules/white.ts

+ 6 - 0
src/router/index.ts

@@ -13,6 +13,12 @@ const routes = [
     children: [],
     // children: [...bigModelRouter],
   },
+  {
+    name: '0bd9b596-7018-49e9-8968-c103b99542ac',
+    path: '/invite',
+    component: () => import('@/views/global/invite/index.vue'),
+    meta: {},
+  },
   ...whiteRoutes,
 ]
 const hasLogin = (import.meta as any).env.VITE_LOGIN_MUST === 'Y'

+ 0 - 6
src/router/modules/white.ts

@@ -6,12 +6,6 @@ const routes = [
     meta: {},
   },
   {
-    name: '0bd9b596-7018-49e9-8968-c103b99542ac',
-    path: '/invite',
-    component: () => import('@/views/global/invite/index.vue'),
-    meta: {},
-  },
-  {
     name: '21ec78cd-d606-4c49-ac6c-8a2f5513dcf1',
     path: '/workflow',
     component: () => import('@/views/workflow/index.vue'),