wxd
/
MShopWeApp
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
2b165cd7b45418c4e3b5d5540396654ac3a96cc4
Authored by
yvan.ni
2021-12-21 16:42:08 +0800
1 parent
46c9a710
阶梯优化
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
pages/cart/cart2/ladder_calculate.js
pages/goods/search/search.js
pages/cart/cart2/ladder_calculate.js
View file @
2b165cd
...
...
@@ -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
View file @
2b165cd
...
...
@@ -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
}
...
...