Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
77e927c1b8
2 changed files with 10 additions and 4 deletions
  1. 12
      pages/mall/index/index.js
  2. 2
      project.config.json

12
pages/mall/index/index.js

@ -77,9 +77,16 @@ Component({
if (message.what == 10 && app.globalData.isVIP == 1) {
// this.setData({ token: app.globalData.token })
// this.onRefreshList()
}
if(message.what == 1001){
} else if(message.what == 1001){
this.setData({ kg: app.globalData.kg })
} else if(message.what == 888){
this.setData({
orderList2: [],
['form[0].pageNum']: 1,
['loading[0]']: true,
['finished[0]']: false
})
this.fetchAgentList()
}
},
stopTouchMove: function(e){
@ -176,7 +183,6 @@ Component({
})
this.fetchAgentList()
}
},
fetchMoreList: function(){
if(this.data.tabIndex == 1){

2
project.config.json

@ -40,7 +40,7 @@
"minifyWXSS": true
},
"compileType": "miniprogram",
"libVersion": "2.16.0",
"libVersion": "2.17.0",
"appid": "wx7a4a8415e6821108",
"projectname": "zhitongbao-mini",
"debugOptions": {

Loading…
Cancel
Save