修复前端打包问题

提取基础接口为配置
This commit is contained in:
xiaowang
2026-03-10 23:23:15 +08:00
parent 191c558049
commit 580a89c64d
27 changed files with 257 additions and 222 deletions
+2 -2
View File
@@ -68,8 +68,8 @@ const handleBackClick = () => {
const fetchWishlist = async () => {
try {
const response = await wishlistApi.getWishlist()
wishlistItems.value = response as WishlistItem[]
await loadImageUrls(response as WishlistItem[])
wishlistItems.value = (response as unknown as WishlistItem[])
await loadImageUrls(response as unknown as WishlistItem[])
} catch (error) {
console.error('获取收藏列表失败:', error)
ElMessage.error('获取收藏列表失败')