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 @@