diff --git a/chenhai-ui/src/router/index.js b/chenhai-ui/src/router/index.js index 0501bc3..57e5bef 100644 --- a/chenhai-ui/src/router/index.js +++ b/chenhai-ui/src/router/index.js @@ -89,6 +89,12 @@ export const constantRoutes = [ ] }, + { + path: 'index', + component: () => import('@/views/index'), + hidden: true + }, + // { // path: '', // component: Layout, diff --git a/chenhai-ui/src/views/Home.vue b/chenhai-ui/src/views/Home.vue index 0c5e19b..2752bc8 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('/', '_blank') + window.open('index', '_blank') this.showOverview = false }, assetAuantity() {