我的推荐商品价格修改

version/0412
shuxiaoquan 10 months ago
parent 12ea9433a9
commit e68e5e32f4
  1. 11
      pages/user/index.vue

@ -682,7 +682,16 @@
const that = this const that = this
Api.recommended() Api.recommended()
.then(res => { .then(res => {
that.suggestGoodsList = res.data.goodsList let arr = res.data.goodsList
if (arr && arr.length > 0) {
arr.map(a => {
a.goods_price_min = Number(a.goods_price_min)
a.goods_price_max = Number(a.goods_price_max)
a.line_price_min = Number(a.line_price_min)
a.line_price_max = Number(a.line_price_max)
})
}
that.suggestGoodsList = arr
}) })
}, },
// //

Loading…
Cancel
Save