diff --git a/src/pages/merchant/components/product-row.vue b/src/pages/merchant/components/product-row.vue index dafd6ed..1ebeacc 100644 --- a/src/pages/merchant/components/product-row.vue +++ b/src/pages/merchant/components/product-row.vue @@ -1,6 +1,6 @@ - \ No newline at end of file + diff --git a/src/pages/shop/components/product-car.vue b/src/pages/shop/components/product-car.vue index 46dd417..847f001 100644 --- a/src/pages/shop/components/product-car.vue +++ b/src/pages/shop/components/product-car.vue @@ -14,10 +14,12 @@ :key="v.id" :productId="v.productId" :merchantId="v.merchantId" - :picUrl="v.productPic" + :picUrl="filePath(v.productPic)" :productName="v.productName" :productCount="v.productCount" :productPrice="v.productPrice" + :spec="v.spec" + :unit="v.unit" @add="(v) => emit('add', v)" @remove="(v) => emit('remove', v)" /> @@ -31,6 +33,7 @@