diff --git a/src/router/index.js b/src/router/index.js index f1a2572..8956374 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -91,9 +91,10 @@ export const constantRoutes = [ ] }, { - path: 'board', + path: '', component: BoardIndex, - redirect: 'board', + redirect: 'Board', + name: 'Board', meta: { title: "看板管理", icon: "chart", @@ -166,7 +167,7 @@ export const constantRoutes = [ ] }, { - path: 'model', + path: '', component: ModelIndex, redirect: 'model', meta: {