商品编辑数据可能被覆盖问题
parent
3b9e54375a
commit
a314373e64
|
@ -1634,7 +1634,7 @@ export default {
|
||||||
// alertQuantity: skus[index].alertQuantity,
|
// alertQuantity: skus[index].alertQuantity,
|
||||||
cost: 1,
|
cost: 1,
|
||||||
price: skus[index].price,
|
price: skus[index].price,
|
||||||
[spec[0].name]: specItem.value,
|
[spec[0].name]: skus[index][spec[0].name] ? skus[index][spec[0].name] : specItem.value,
|
||||||
images:
|
images:
|
||||||
skus[index].images || this.baseInfoForm.goodsGalleryFiles || [],
|
skus[index].images || this.baseInfoForm.goodsGalleryFiles || [],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue