From 3457bbde5d06876131fb7bbb833dddda3617fb0e Mon Sep 17 00:00:00 2001 From: "qumeng039@126.com" <86925389+qumen@users.noreply.github.com> Date: Tue, 12 Aug 2025 12:16:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AC=AC=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E9=A1=B5=E9=9D=A2=E8=87=AA=E5=8A=A8=E9=87=8D?= =?UTF-8?q?=E5=AE=9A=E5=90=91=E5=88=B0=E7=AC=AC=E4=B8=80=E4=B8=AA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E6=9B=B4=E6=94=B9=E5=88=B7=E6=96=B0=E5=90=8E?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E9=A1=B5=E9=9D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 3 ++- src/layout/components/aside/index.vue | 6 ++++-- src/layout/index.vue | 2 +- src/router/index.js | 1 - src/utils/http.js | 30 +++++++++++++-------------- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/App.vue b/src/App.vue index df12179..c8df114 100644 --- a/src/App.vue +++ b/src/App.vue @@ -54,7 +54,8 @@ onMounted(() => { .app-container { width: 100vw; padding-bottom: 20px; - background-image: url("@/assets/images/bci.png"); + background: url("@/assets/images/bci.png"); + background-size: cover; background-repeat: no-repeat; background-position: center; background-color: #02131f; diff --git a/src/layout/components/aside/index.vue b/src/layout/components/aside/index.vue index f247f1e..580b154 100644 --- a/src/layout/components/aside/index.vue +++ b/src/layout/components/aside/index.vue @@ -108,7 +108,10 @@ const jumpPage = (routePath) => { } onMounted(() => { - jumpPage("/key-node-1") + //判读是否是第一次重定向的页面 + if (route.path == "/home") { + jumpPage("/key-node-1") + } }) @@ -116,7 +119,6 @@ onMounted(() => { .aside-component { width: 100%; height: 100%; - .menu { width: 320px; height: 100%; diff --git a/src/layout/index.vue b/src/layout/index.vue index b626540..c19d063 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -29,7 +29,7 @@ const handleOpenDialog = (isOpen) => { } -