diff --git a/src/router/index.js b/src/router/index.js index 3fee89a..c6a2615 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -47,7 +47,7 @@ export const constantRoutes = [ { path: '/', component: Layout, - redirect: '/dashboard', + redirect: '/summaryDashboard', name: 'index', // alwaysShow: true, meta: { title: '首页', icon: 'firstPage', icon1: 'firstPageSel' }, diff --git a/src/views/dashboard/dashboard.vue b/src/views/dashboard/dashboard.vue index 60dbce6..a8082ef 100644 --- a/src/views/dashboard/dashboard.vue +++ b/src/views/dashboard/dashboard.vue @@ -1,5 +1,5 @@