From b18ab665628d85d872ed99f53135750c71390076 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 22 Apr 2021 14:26:07 +0800 Subject: [PATCH] no message --- pages/article/newInfo/index.js | 9 ++------- pages/mall/price-index/index.js | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/pages/article/newInfo/index.js b/pages/article/newInfo/index.js index af4b3f8..fbf7b95 100644 --- a/pages/article/newInfo/index.js +++ b/pages/article/newInfo/index.js @@ -72,15 +72,10 @@ Component({ util.navigateTo('/pages/article/detail/index?id='+e.currentTarget.id) }, changeTable: function (e) { - var a = e.currentTarget.id if (e.currentTarget.id === this.data.tableSgin) { - this.setData({ - tableSgin: null - }) + this.setData({ tableSgin: null }) } else { - this.setData({ - tableSgin: e.currentTarget.id - }) + this.setData({ tableSgin: e.currentTarget.id }) } }, getPaperMillOfInformationListFct:function(model) { diff --git a/pages/mall/price-index/index.js b/pages/mall/price-index/index.js index f3430bf..55203fe 100644 --- a/pages/mall/price-index/index.js +++ b/pages/mall/price-index/index.js @@ -44,6 +44,7 @@ Page({ this.data.idList += ',' + result.data.records[index].id } } + storage.put('cateIdList' + app.globalData.userInfo.userId, this.data.idList) this.fetchChartList() wx.hideLoading() }).catch(err => {