Authored by TaoHuang

fix(second): fix product price

@@ -94,8 +94,8 @@ export default { @@ -94,8 +94,8 @@ export default {
94 return {}; 94 return {};
95 }, 95 },
96 selectedPrice() { 96 selectedPrice() {
97 - let price = get(this.product, 'least_price', 0);  
98 - let secondHandPrice = get(this.product, 'second_hand_least_price', 0); 97 + let price = get(this.selectedSize, 'least_price', 0);
  98 + let secondHandPrice = get(this.selectedSize, 'second_hand_least_price', 0);
99 99
100 if (this.config.type === 'sell') { 100 if (this.config.type === 'sell') {
101 return price; 101 return price;
@@ -120,7 +120,7 @@ export default { @@ -120,7 +120,7 @@ export default {
120 * 现货价格 120 * 现货价格
121 */ 121 */
122 latestPrice() { 122 latestPrice() {
123 - return this.product.least_price; 123 + return this.selectedSize.least_price;
124 }, 124 },
125 125
126 goods_name() { 126 goods_name() {