From 38001bbb2ef147a81ff738777d8677be320b8a23 Mon Sep 17 00:00:00 2001 From: ZhaoYang <565837861@qq.com> Date: Wed, 22 Apr 2026 11:00:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chenhai-ui/src/router/index.js | 6 ++++++ chenhai-ui/src/views/Home.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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() {