fix:x修复优惠卷价格显示错误

This commit is contained in:
wangsongsole 2022-10-09 17:59:10 +08:00
parent e1b6db5e0d
commit cc13914153
1 changed files with 0 additions and 2 deletions

View File

@ -174,8 +174,6 @@
if (code === 200) { if (code === 200) {
const productArray = [] const productArray = []
data.map((item, index) => { data.map((item, index) => {
item.full = Number(item.full).toFixed(0)
item.reduce = Number(item.reduce).toFixed(0)
item.id = String((item.id)).padStart(8, 0) + index item.id = String((item.id)).padStart(8, 0) + index
item.product.legal.map(items => { item.product.legal.map(items => {
productArray.push({ productArray.push({