拎壶冲 5 meses atrás
pai
commit
84c9729ead
1 arquivos alterados com 14 adições e 8 exclusões
  1. 14 8
      src/router/index.js

+ 14 - 8
src/router/index.js

@@ -63,17 +63,23 @@ export const constantRoutes = [
         redirect: '/index',
         children: [
             {
-                path: '/dashboard',
+                path: '/index',
                 component: () => import('@/views/dashboard'),
-                name: 'dashboard',
+                name: 'index',
                 meta: {title: '业务运行风险', icon: 'dashboard', affix: true}
             },
-            {
-                path: '/index',
-                component: () => import('@/views/index'),
-                name: 'Index',
-                hidden:true
-            }
+            // {
+            //     path: '/dashboard',
+            //     component: () => import('@/views/dashboard'),
+            //     name: 'dashboard',
+            //     meta: {title: '业务运行风险', icon: 'dashboard', affix: true}
+            // },
+            // {
+            //     path: '/index',
+            //     component: () => import('@/views/index'),
+            //     name: 'Index',
+            //     hidden:true
+            // }
         ]
     },
     {