diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 32d52e7..e57d85d 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -78,19 +78,19 @@ export const constantRoutes = [ path: 'index', component: () => import('@/views/board/index'), name: 'Board', - meta: { title: '看板1', icon: 'dashboard', affix: true } + meta: { title: '看板1', icon: 'dashboard' } }, { path: 'index1', component: () => import('@/views/board/index1'), name: 'Board1', - meta: { title: '看板2', icon: 'dashboard', affix: true } + meta: { title: '看板2', icon: 'dashboard' } }, { path: 'index2', component: () => import('@/views/board/index2'), name: 'Board3', - meta: { title: '看板3', icon: 'dashboard', affix: true } + meta: { title: '看板3', icon: 'dashboard' } }, ] }, @@ -98,6 +98,7 @@ export const constantRoutes = [ path: '', component: Layout, redirect: 'index', + hidden: true, children: [ { path: 'index',