Commit 184593e79ac14846ebf7032eaaa6f1de6bee821c
1 parent
086912d5
日志再打一下
Showing
1 changed file
with
11 additions
and
1 deletions
packageA/pages/goodsInfo/goodsInfo.js
@@ -217,6 +217,10 @@ Page({ | @@ -217,6 +217,10 @@ Page({ | ||
217 | 217 | ||
218 | //------初始化加载---------- | 218 | //------初始化加载---------- |
219 | onLoad: function(t) { | 219 | onLoad: function(t) { |
220 | + | ||
221 | + | ||
222 | + console.log("11111111"); | ||
223 | + | ||
220 | self = this; | 224 | self = this; |
221 | 225 | ||
222 | this.setData({ | 226 | this.setData({ |
@@ -353,16 +357,22 @@ Page({ | @@ -353,16 +357,22 @@ Page({ | ||
353 | 357 | ||
354 | //获取用户的默认门店 | 358 | //获取用户的默认门店 |
355 | getApp().get_user_store(function(e) { | 359 | getApp().get_user_store(function(e) { |
360 | + console.log('get_user_store'); | ||
361 | + console.log("999999999"); | ||
362 | + | ||
363 | + | ||
356 | if(!e) { | 364 | if(!e) { |
357 | th.data.fir_def_store={}; //赋值空对象 | 365 | th.data.fir_def_store={}; //赋值空对象 |
358 | return false; | 366 | return false; |
359 | } | 367 | } |
360 | 368 | ||
369 | + console.log("000000"); | ||
370 | + | ||
361 | if(getApp().globalData.is_dj_pk) th.setData({has_def:1}) | 371 | if(getApp().globalData.is_dj_pk) th.setData({has_def:1}) |
362 | 372 | ||
363 | var ee=JSON.parse(JSON.stringify(e)); | 373 | var ee=JSON.parse(JSON.stringify(e)); |
364 | 374 | ||
365 | - console.log('get_user_store'); | 375 | + |
366 | console.log(e); | 376 | console.log(e); |
367 | 377 | ||
368 | //--定时器推迟一下-- | 378 | //--定时器推迟一下-- |