From 3c0e7777f8a86de117edffa0e2c4bed074cba93f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Tue, 21 Jan 2025 14:22:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E9=BB=98=E8=AE=A4=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/layout/components/Aside.vue | 7 ++++++- src/renderer/src/views/profile/userAvatar.vue | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/layout/components/Aside.vue b/src/renderer/src/layout/components/Aside.vue index d87208d..ecc7566 100644 --- a/src/renderer/src/layout/components/Aside.vue +++ b/src/renderer/src/layout/components/Aside.vue @@ -5,7 +5,11 @@ @@ -65,6 +69,7 @@ import {toLinkLeftWeb} from "@/utils/tool" const { ipcRenderer } = window.electron || {} const dev_api = ref(import.meta.env.VITE_APP_BASE_API) +const route_path = ref(import.meta.env.VITE_APP_BUILD_BASE_PATH) const userStore = useUserStore() const router = useRouter() const currentRoute = ref('') diff --git a/src/renderer/src/views/profile/userAvatar.vue b/src/renderer/src/views/profile/userAvatar.vue index 755a3f6..531f3c7 100644 --- a/src/renderer/src/views/profile/userAvatar.vue +++ b/src/renderer/src/views/profile/userAvatar.vue @@ -1,6 +1,11 @@