Commit 30129831820019236f96be0e47eea465fdcb3d43
1 parent
a370a046
fix: 修改psize
Showing
2 changed files
with
2 additions
and
2 deletions
pages/products/detail/[id]/index.vue
... | ... | @@ -68,7 +68,7 @@ newData.productimageliststore = newData?.productimageliststore.map( |
68 | 68 | (item: ProductImage) => ({ |
69 | 69 | ...item, |
70 | 70 | // url: `http://112.74.45.244:8100/api/show/image?fileKey=${item.fileKey}` |
71 | - url: `/api/show/image?fileKey=${item.fileKey}&psize=p256`, | |
71 | + url: `/api/show/image?fileKey=${item.fileKey}&psize=p512`, | |
72 | 72 | }) |
73 | 73 | ); |
74 | 74 | info.value = { ...newData }; | ... | ... |
stores/product_list.ts
... | ... | @@ -32,7 +32,7 @@ export const useProductListStore = defineStore("productList", () => { |
32 | 32 | imgList: JSON.parse( |
33 | 33 | record.productimageliststore as unknown as string |
34 | 34 | ).map((item: ProductImage) => ({ |
35 | - url: `/api/show/image?fileKey=${item.fileKey}&psize=p256`, | |
35 | + url: `/api/show/image?fileKey=${item.fileKey}&psize=p512`, | |
36 | 36 | })), |
37 | 37 | })) || []; |
38 | 38 | total.value = data.value?.data?.total || 0; | ... | ... |