Commit ef6f6e1715bdc54f7c21ab222efb2072b5b84cd5

Authored by 后端研发-苏明海
2 parents 6a5766ca 6dc842d2

Merge branch 'dev' into 'test'

Dev

See merge request !625
Showing 1 changed file with 5 additions and 5 deletions
pages/index/index/index.js
@@ -522,12 +522,12 @@ Page({ @@ -522,12 +522,12 @@ Page({
522 },500) 522 },500)
523 523
524 }); 524 });
525 -  
526 - var goods_list = this.selectComponent("#goods_list"); //组件的id  
527 - goods_list.init(); 525 +
528 setTimeout(function() { 526 setTimeout(function() {
529 - goods_list.get_list();  
530 - }, 300) 527 + var goods_list = th.selectComponent("#goods_list"); //组件的id
  528 + goods_list.init();
  529 + goods_list.get_list();
  530 + }, 1500)
531 }, 531 },
532 532
533 //--判断小程序是否过期-- 533 //--判断小程序是否过期--