Commit b2ca2096 by 前端

Merge branch 'develop' into 'master'

v4.31.0版本线上问题修复 代码合并

See merge request !189
2 parents 3ba32ee7 76051fd9
...@@ -151,15 +151,15 @@ Page({ ...@@ -151,15 +151,15 @@ Page({
val?.upgradeGoodsList?.forEach((subVal, subInd) => { val?.upgradeGoodsList?.forEach((subVal, subInd) => {
if (type == 1 && [1].includes(subVal.merchantGoodsPosition)) { if (type == 1 && [1].includes(subVal.merchantGoodsPosition)) {
arr2.push(subVal) arr2.push(subVal)
arr[index].upgradeGoodsList = arr2 arr[0].upgradeGoodsList = arr2
} }
if (type == 2 && [2, 3, 4].includes(subVal.merchantGoodsPosition)) { if (type == 2 && [2, 3, 4].includes(subVal.merchantGoodsPosition)) {
arr2.push(subVal) arr2.push(subVal)
arr[index].upgradeGoodsList = arr2 arr[0].upgradeGoodsList = arr2
} }
if (type == 3 && [5, 6, 7].includes(subVal.merchantGoodsPosition)) { if (type == 3 && [5, 6, 7].includes(subVal.merchantGoodsPosition)) {
arr2.push(subVal) arr2.push(subVal)
arr[index].upgradeGoodsList = arr2 arr[0].upgradeGoodsList = arr2
} }
}) })
} }
......
...@@ -155,15 +155,15 @@ Page({ ...@@ -155,15 +155,15 @@ Page({
val?.upgradeGoodsList?.forEach((subVal, subInd) => { val?.upgradeGoodsList?.forEach((subVal, subInd) => {
if (type == 1 && [1].includes(subVal.merchantGoodsPosition)) { if (type == 1 && [1].includes(subVal.merchantGoodsPosition)) {
arr2.push(subVal) arr2.push(subVal)
arr[index].upgradeGoodsList = arr2 arr[0].upgradeGoodsList = arr2
} }
if (type == 2 && [2, 3, 4].includes(subVal.merchantGoodsPosition)) { if (type == 2 && [2, 3, 4].includes(subVal.merchantGoodsPosition)) {
arr2.push(subVal) arr2.push(subVal)
arr[index].upgradeGoodsList = arr2 arr[0].upgradeGoodsList = arr2
} }
if (type == 3 && [5, 6, 7].includes(subVal.merchantGoodsPosition)) { if (type == 3 && [5, 6, 7].includes(subVal.merchantGoodsPosition)) {
arr2.push(subVal) arr2.push(subVal)
arr[index].upgradeGoodsList = arr2 arr[0].upgradeGoodsList = arr2
} }
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!