Authored by TaoHuang

fix(second): fix product price

... ... @@ -94,8 +94,8 @@ export default {
return {};
},
selectedPrice() {
let price = get(this.product, 'least_price', 0);
let secondHandPrice = get(this.product, 'second_hand_least_price', 0);
let price = get(this.selectedSize, 'least_price', 0);
let secondHandPrice = get(this.selectedSize, 'second_hand_least_price', 0);
if (this.config.type === 'sell') {
return price;
... ... @@ -120,7 +120,7 @@ export default {
* 现货价格
*/
latestPrice() {
return this.product.least_price;
return this.selectedSize.least_price;
},
goods_name() {
... ...