From cac9949d2559fd4db4b83512fe896340fdf8ee2d Mon Sep 17 00:00:00 2001 From: huziyuan Date: Wed, 27 Jan 2021 16:12:27 +0800 Subject: [PATCH] =?UTF-8?q?--=E4=BC=98=E5=8C=96=E7=99=BB=E9=99=86=E6=97=B6?= =?UTF-8?q?4=E4=B8=AA=E9=A1=B5=E9=9D=A2=E6=A3=80=E6=B5=8B=E5=BC=95?= =?UTF-8?q?=E8=B5=B7=E7=9A=84=E9=87=8D=E5=A4=8D=E8=B0=83=E5=8F=96baseInfo-?= =?UTF-8?q?-?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/agent/index/index.js | 3 ++- pages/home/tab1/index.js | 4 ++-- pages/index/index.js | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/agent/index/index.js b/pages/agent/index/index.js index 804da47..c9106c3 100644 --- a/pages/agent/index/index.js +++ b/pages/agent/index/index.js @@ -48,8 +48,9 @@ Page({ }) this.fetchRegionList() this.fetchPapersList() - event.on('attentionPaperList', this, this.onEvent) event.on('factoryDetails', this, this.onEvent) + event.on('attentionPaperList', this, this.onEvent) + }, onEvent: function (message) { if (message.what == 1100 || message.what == 1101) { diff --git a/pages/home/tab1/index.js b/pages/home/tab1/index.js index 46db387..59dbb59 100644 --- a/pages/home/tab1/index.js +++ b/pages/home/tab1/index.js @@ -20,7 +20,6 @@ Page({ */ onLoad: function (options) { this.getUerInfoFct() - }, toNextTab: function () { wx.navigateTo({ @@ -149,5 +148,6 @@ Page({ } }) - } + }, + }) \ No newline at end of file diff --git a/pages/index/index.js b/pages/index/index.js index ded996c..1b8c3ec 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -57,6 +57,7 @@ Page({ }, /************************************** 初始化流程 ********************************************/ onLoad: function (options) { + storage.put('isTokenHaveStatus', false) const updateManager = wx.getUpdateManager() updateManager.onCheckForUpdate(function (res) { // 请求完新版本信息的回调