Browse Source

feat: 路由顺序调整

Leo 2 years ago
parent
commit
715e4e71a6
1 changed files with 11 additions and 9 deletions
  1. 11 9
      src/routes/index.js

+ 11 - 9
src/routes/index.js

@@ -24,6 +24,17 @@ export const routes = [
       },
     ],
   },
+  {
+    path: '/work-management',
+    title: '作业管理',
+    component: JobManagement,
+    children: [
+      {
+        path: '/work-management/cre',
+        component: JobCreate,
+      },
+    ],
+  },
   {
     path: '/task-mgmt',
     title: '任务管理',
@@ -46,13 +57,4 @@ export const routes = [
       },
     ],
   },
-  {
-    path: '/work-management',
-    title: '作业管理',
-    component: JobManagement,
-    children: [{
-      path: '/work-management/cre',
-      component: JobCreate
-    }]
-  }
 ]