diff --git a/chenhai-ui/src/router/index.js b/chenhai-ui/src/router/index.js index f6e1e80..d6ffec3 100644 --- a/chenhai-ui/src/router/index.js +++ b/chenhai-ui/src/router/index.js @@ -76,9 +76,10 @@ export const constantRoutes = [ }, { - path: '/indexHome', - component: () => import('@/views/index'), - hidden: true, + path: '', + component: Layout, + redirect: 'index', + component: () => import('@/views/Home'), children: [ { path: 'index', @@ -88,20 +89,6 @@ export const constantRoutes = [ ] }, - // { - // path: '', - // component: Layout, - // redirect: 'index', - // children: [ - // { - // path: 'index', - // component: () => import('@/views/index'), - // name: 'Index', - // meta: { title: '首页', icon: 'dashboard', affix: true } - // } - // ] - // }, - { path: '/lock', diff --git a/chenhai-ui/src/views/Home.vue b/chenhai-ui/src/views/Home.vue index 695410d..bd01127 100644 --- a/chenhai-ui/src/views/Home.vue +++ b/chenhai-ui/src/views/Home.vue @@ -332,7 +332,7 @@ export default { this.showOverview = false }, handleAdmin(e) { - window.open('/indexHome', '_blank') + window.open('/features', '_blank') this.showOverview = false }, assetAuantity() { diff --git a/chenhai-ui/src/views/map_pol/mapVisual.vue b/chenhai-ui/src/views/map_pol/mapVisual.vue index b3fef47..04e1bbf 100644 --- a/chenhai-ui/src/views/map_pol/mapVisual.vue +++ b/chenhai-ui/src/views/map_pol/mapVisual.vue @@ -355,7 +355,7 @@ export default {