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

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

@@ -9,8 +9,9 @@ Vue.use(Router);
 const quietRoute = [
     {
         path: '/',
-        redirect: '/homeIndex'
-    }, {
+        component: () => import('@views/commandDispatch/index.vue'),
+    }, 
+    {
         path: '/homeIndex',
         component: () => import('@views/commandDispatch/index.vue'),
         meta: { title: '首页' }