Commit f8ba634d by wusiyi

fix: 修复单件打单主图不显示问题

parent c82edc93
......@@ -973,6 +973,9 @@ const getPackingData = async (code: string) => {
podOrderDetailsData.value.fromUser = userStore.user?.id
if (podOrderDetailsData.value.productList?.length) {
const list = podOrderDetailsData.value.productList
coverImage.value = list[0].imageAry
? JSON.parse(list[0].imageAry)[0].url
: list[0].variantImage
for (const product of list) {
if (product.count === product.purchaseNumber) {
product.power = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment