修复前端打包问题
提取基础接口为配置
This commit is contained in:
@@ -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('获取收藏列表失败')
|
||||
|
||||
Reference in New Issue
Block a user