更新背景图片API路径

This commit is contained in:
jxxghp
2025-04-28 15:56:18 +08:00
parent 43460d4198
commit b24c29b217
6 changed files with 7 additions and 11 deletions

View File

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