chenrui  vor 2 Jahren
Ursprung
Commit
b30fafbd6a
2 geänderte Dateien mit 8 neuen und 10 gelöschten Zeilen
  1. 1 1
      .eslintrc-auto-import.json
  2. 7 9
      src/router/routes/routes-file-three.ts

+ 1 - 1
.eslintrc-auto-import.json

@@ -66,4 +66,4 @@
     "watch": true,
     "watchEffect": true
   }
-}
+}

+ 7 - 9
src/router/routes/routes-file-three.ts

@@ -53,15 +53,13 @@ const HomeRoutes = {
       name: "ModelMaintenance",
       meta: { title: "机型维护", elSvgIcon: "Fold", icon: "table" },
       component: () => import("@/views/BasicsData/modelMaintenance/index.vue"),
-      children: [
-        {
-          path: "/BasicsData/modelMaintenance/shippingSpace",
-          name: "ShippingSpace",
-          hidden: true,
-          meta: { title: "舱位管理", elSvgIcon: "Fold", icon: "table" },
-          component: () => import("@/views/BasicsData/shippingSpace/index.vue"),
-        },
-      ],
+    },
+    {
+      path: "/BasicsData/modelMaintenance/shippingSpace",
+      name: "ShippingSpace",
+      hidden: true,
+      meta: { title: "舱位管理", elSvgIcon: "Fold", icon: "table" },
+      component: () => import("@/views/BasicsData/shippingSpace/index.vue"),
     },
     {
       path: "/BasicsData/containerMaintenance",