优化生成价格区间

master
paulGao 2022-05-27 16:28:26 +08:00
parent ebacb58049
commit 3405cf68bb
1 changed files with 1 additions and 1 deletions

View File

@ -984,7 +984,7 @@ export default {
if (this.wholesaleData.length < 3) { if (this.wholesaleData.length < 3) {
this.wholesaleData.push({ this.wholesaleData.push({
price: price:
Number(this.wholesaleData[this.wholesaleData.length - 1].price) - 1, Number(this.wholesaleData[this.wholesaleData.length - 1].price) - 0.01,
num: num:
Number(this.wholesaleData[this.wholesaleData.length - 1].num) + 1, Number(this.wholesaleData[this.wholesaleData.length - 1].num) + 1,
goodsId: this.goodsId, goodsId: this.goodsId,