Commit 2b165cd7b45418c4e3b5d5540396654ac3a96cc4

Authored by yvan.ni
1 parent 46c9a710

阶梯优化

pages/cart/cart2/ladder_calculate.js
... ... @@ -185,7 +185,7 @@ module.exports = {
185 185 return dest;
186 186 },
187 187  
188   - //-- 平摊组合购的价格 --
  188 + //-- 组装阶梯购的价格 --
189 189 calc_split_price: async function (c_arr, th) {
190 190 //-- 循环处理 --
191 191 for (var k in c_arr) {
... ...
pages/goods/search/search.js
... ... @@ -242,6 +242,7 @@ Page({
242 242 }
243 243 })
244 244 }
  245 + if(!th.data.requestData) th.data.requestData=[];
245 246 th.data.requestData.push(item);
246 247 e.setData({requestData: e.data.requestData});
247 248 }
... ...