From bb458ace61c3712dd50a8140fb9a34192d1251d0 Mon Sep 17 00:00:00 2001 From: lqq Date: Mon, 21 Oct 2019 15:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20appid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/billboards/policy/policy-list/index.js | 3 +++ pages/home/index.wxml | 2 +- project.config.json | 2 +- utils/http.js | 2 -- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/billboards/policy/policy-list/index.js b/pages/billboards/policy/policy-list/index.js index 5927a27..fa935d2 100644 --- a/pages/billboards/policy/policy-list/index.js +++ b/pages/billboards/policy/policy-list/index.js @@ -47,6 +47,9 @@ Page({ nodes: res.data.content || '' }) } else { + this.setData({ + nodes: '' + }) wx.showToast({ title: res.message, icon: 'none' diff --git a/pages/home/index.wxml b/pages/home/index.wxml index 4a88be0..20ab212 100644 --- a/pages/home/index.wxml +++ b/pages/home/index.wxml @@ -11,5 +11,5 @@ showTop="{{item.showTop}}" bind:clickListItem="clickListItem"/> - + diff --git a/project.config.json b/project.config.json index 4d0f72c..05902ea 100644 --- a/project.config.json +++ b/project.config.json @@ -24,7 +24,7 @@ }, "compileType": "miniprogram", "libVersion": "2.8.1", - "appid": "wx3bcb2b4ced1544f7", + "appid": "wx8f4ebf5537cf4962", "projectname": "fqsb_wx", "debugOptions": { "hidedInDevtools": [] diff --git a/utils/http.js b/utils/http.js index 9be129d..bc23d7f 100644 --- a/utils/http.js +++ b/utils/http.js @@ -95,8 +95,6 @@ class HTTP { const { token, userInfo } = data.result store.saveToken(token) store.saveUserInfo(userInfo) - // wx.setStorageSync(HTTPConst.UserInfoStoreKey, userInfo) - // wx.setStorageSync(HTTPConst.TokenStoreKey, token) success(data) }, }