diff --git a/src/router/index.js b/src/router/index.js index 6ca5b20c..fdf34080 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -68,8 +68,22 @@ export const constantRoutes = [ children: [ { path: 'index', - component: () => import('@/views/index'), + component: () => import('@/views/screen/wsScreen/index'), name: 'Index', + meta: { title: '首页', icon: 'dashboard', affix: true } + }, + + ] + }, + { + path: '', + component: Layout, + redirect: 'index1', + children: [ + { + path: 'index1', + component: () => import('@/views/index'), + name: 'Index1', meta: { title: '快捷导航', icon: 'dashboard', affix: true } },