Commit c9b7d2f0e172b4874a2da07ece5000817916e8ad
1 parent
e88d3aff
报错的修复
Showing
1 changed file
with
1 additions
and
1 deletions
components/diy_goodsGroup/diy_goodsGroup.js
| ... | ... | @@ -449,7 +449,7 @@ Component({ |
| 449 | 449 | var now = ut.gettimestamp(); |
| 450 | 450 | var th = this; |
| 451 | 451 | if (!goods || goods.length == 0) return false; |
| 452 | - var user_id = getApp().globalData.userInfo.user_id; | |
| 452 | + var user_id = getApp().globalData.user_id; | |
| 453 | 453 | if (!user_id) user_id = 0; |
| 454 | 454 | for (var i in goods) { |
| 455 | 455 | var val = goods[i]; | ... | ... |