From 77e927c1b83931c58b06a60e34bb7fde20913fad Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Fri, 16 Jul 2021 17:09:31 +0800 Subject: [PATCH] no message --- pages/mall/index/index.js | 12 +++++++++--- project.config.json | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pages/mall/index/index.js b/pages/mall/index/index.js index 01ce0a8..8fe2899 100644 --- a/pages/mall/index/index.js +++ b/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){ diff --git a/project.config.json b/project.config.json index 034faa3..93e7860 100644 --- a/project.config.json +++ b/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": {