Shannon_mu 2 years ago
parent
commit
fb782a7dbd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      commandCenter/src/router/index.js

+ 2 - 2
commandCenter/src/router/index.js

@@ -11,10 +11,9 @@ const quietRoute = [
         path: '/',
         component: () => import('@/components/common/Home.vue'),
         name: 'home',
-        redirect: "/homeIndex",
         children: [
             {
-                path: '/homeIndex',
+                path: '/homeIndex/index',
                 name: 'homeIndex',
                 component: () => import('@views/commandDispatch/index.vue'),
                 meta: { title: 'homeIndex' }
@@ -30,6 +29,7 @@ const quietRoute = [
                 meta: { title: '404' }
             },
         ],
+        redirect: "/homeIndex/index",
     },
     {
         path: '*',