Commit 2ef45846674bf6a8a05f667658460b9ae7e6b9d8
Merge branch 'dev' into 'test'
商品列表的bug的优化 See merge request !629
Showing
1 changed file
with
1 additions
and
1 deletions
components/goods_list/goods_list.js
| ... | ... | @@ -37,7 +37,7 @@ Component({ | 
| 37 | 37 | getApp().request.get("/api/weshop/users/get/" + os.stoid + "/" + getApp().globalData.user_id, { | 
| 38 | 38 | isShowLoading:false, | 
| 39 | 39 | success: function (e) { | 
| 40 | - if(e.code==0 && e.data && e.data.data){ | |
| 40 | + if(e.data.code==0 && e.data && e.data.data){ | |
| 41 | 41 | getApp().globalData.userInfo = e.data.data; | 
| 42 | 42 | getApp().getConfig2(function (e) { | 
| 43 | 43 | var swithc_list = e.switch_list; | ... | ... | 
