Shannon_mu преди 2 години
родител
ревизия
cb60a8126c
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  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: '首页' }