浏览代码

feat: 路由顺序调整

Leo 2 年之前
父节点
当前提交
715e4e71a6
共有 1 个文件被更改,包括 11 次插入9 次删除
  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
-    }]
-  }
 ]