Bläddra i källkod

修改 现货信息录入 路由

huangbin 4 år sedan
förälder
incheckning
0fd98b91e2
1 ändrade filer med 13 tillägg och 3 borttagningar
  1. 13 3
      src/router/index.ts

+ 13 - 3
src/router/index.ts

@@ -1943,12 +1943,22 @@ const routes: Array<RouteRecordRaw> = [
                 ]
             },
             {
-                path: '/entry_of_spot_information',
-                name: EnumRouterName.entry_of_spot_information,
-                component: () => import('@/views/hedging/entry_of_spot_information/index.vue'),
+                path: '/entry_of_spot_information_sub',
+                name: 'entry_of_spot_information_sub',
+                component: Main,
                 meta: {
                     requireAuth: true,
                 },
+                children: [
+                    {
+                        path: '/entry_of_spot_information_sub/entry_of_spot_information',
+                        name: 'entry_of_spot_information',
+                        component: () => import('@/views/hedging/entry_of_spot_information/index.vue'),
+                        meta: {
+                            requireAuth: true,
+                        },
+                    },
+                ]
             },
             {
                 path: '/spot_price_management',