Shannon_mu 2 yıl önce
ebeveyn
işleme
cb60a8126c
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  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: '首页' }