From b24c29b217d0536c5eca8ecff65f69ea62ef3333 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 28 Apr 2025 15:56:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=83=8C=E6=99=AF=E5=9B=BE?= =?UTF-8?q?=E7=89=87API=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components/dialog/SearchBarDialog.vue | 2 +- src/layouts/components/ShortcutBar.vue | 2 +- src/layouts/components/UserProfile.vue | 6 +----- src/layouts/components/WorkflowSidebar.vue | 2 +- src/router/i18n-menu.ts | 4 ++-- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/App.vue b/src/App.vue index 4392cbfa..752a6fb8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -77,7 +77,7 @@ function updateHtmlThemeAttribute(themeName: string) { // 获取背景图片 async function fetchBackgroundImages() { try { - backgroundImages.value = await api.get(`/login/${t('login.wallpapers')}`) + backgroundImages.value = await api.get(`/login/wallpapers`) } catch (e) { console.error(e) } diff --git a/src/components/dialog/SearchBarDialog.vue b/src/components/dialog/SearchBarDialog.vue index 8e76b106..a5f37574 100644 --- a/src/components/dialog/SearchBarDialog.vue +++ b/src/components/dialog/SearchBarDialog.vue @@ -561,7 +561,7 @@ onMounted(() => { > diff --git a/src/layouts/components/ShortcutBar.vue b/src/layouts/components/ShortcutBar.vue index c1134786..87963656 100644 --- a/src/layouts/components/ShortcutBar.vue +++ b/src/layouts/components/ShortcutBar.vue @@ -156,7 +156,7 @@ onMounted(() => { diff --git a/src/layouts/components/UserProfile.vue b/src/layouts/components/UserProfile.vue index 4ba2420f..992a7966 100644 --- a/src/layouts/components/UserProfile.vue +++ b/src/layouts/components/UserProfile.vue @@ -1,5 +1,4 @@