Commit 48f209d403f5e30fdd368fb07474836ca03edcef
1 parent
5010e9d9
fix: 修改psize
Showing
2 changed files
with
2 additions
and
2 deletions
pages/products/detail/[id]/index.vue
... | ... | @@ -69,7 +69,7 @@ newData.productimageliststore = newData?.productimageliststore.map( |
69 | 69 | (item: ProductImage) => ({ |
70 | 70 | ...item, |
71 | 71 | // url: `http://112.74.45.244:8100/api/show/image?fileKey=${item.fileKey}` |
72 | - url: `/api/show/image?fileKey=${item.fileKey}&psize=p256`, | |
72 | + url: `/api/show/image?fileKey=${item.fileKey}&psize=p512`, | |
73 | 73 | }) |
74 | 74 | ); |
75 | 75 | 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; | ... | ... |