Shannon_mu 2 gadi atpakaļ
vecāks
revīzija
cb60a8126c
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  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: '首页' }