Shannon_mu 2 năm trước cách đây
mục cha
commit
cb60a8126c
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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: '首页' }