Commit e8896b7aa5110d0b11ff6e1dfa9077c1dd96a123
1 parent
fd29d461
商品列表
Showing
1 changed file
with
13 additions
and
10 deletions
packageC/pages/presell/list/list.js
... | ... | @@ -82,16 +82,19 @@ Page({ |
82 | 82 | |
83 | 83 | }, |
84 | 84 | onShow: function (t) { |
85 | - var userInfo=getApp().globalData.userInfo; | |
86 | - if(userInfo && this.data.goodlist.length==0){ | |
87 | - //调用列表 | |
88 | - this.get_list(); | |
89 | - }else{ | |
90 | - if(getApp().globalData.pre_back==1){ | |
91 | - getApp().globalData.pre_back=0; | |
92 | - getApp().goto("/pages/index/index/index"); | |
93 | - } | |
94 | - } | |
85 | + // var userInfo=getApp().globalData.userInfo; | |
86 | + // if(userInfo && this.data.goodlist.length==0){ | |
87 | + // //调用列表 | |
88 | + // this.get_list(); | |
89 | + // }else{ | |
90 | + // if(getApp().globalData.pre_back==1){ | |
91 | + // getApp().globalData.pre_back=0; | |
92 | + // getApp().goto("/pages/index/index/index"); | |
93 | + // } | |
94 | + // } | |
95 | + | |
96 | + this.get_list(); | |
97 | + | |
95 | 98 | }, |
96 | 99 | //---小于10的格式化函数---- |
97 | 100 | timeFormat(param) { | ... | ... |