diff --git a/pages/index/index.js b/pages/index/index.js index bd4acd1..a14d5e3 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -398,7 +398,6 @@ Page({ }); } this.hideLeft(); - that.getType(); }, getType(){ var that = this; @@ -684,10 +683,13 @@ Page({ }); } }, + clear(){ + // wx.clearStorage() + }, getBrandNameAllList: function () { var that = this; wx.request({ - url: app.globalData.ip + "/labels/type/95", // 分类列表获取接口 + url: app.globalData.ip + "/yishoudan/labels/type/app/95", // 分类列表获取接口 header: app.globalData.header, method: "GET", success: function (res) { @@ -1014,6 +1016,7 @@ Page({ app.globalData.isCommission = 1; } app.getLoginUserTokenInfo(); + that.getType(); // this.getJobList(); if (wx.getStorageSync("FILTER_LIST")) { @@ -1038,6 +1041,9 @@ Page({ }); } if (wx.getStorageSync("CLASSIFY_LIST")) { + + console.log(wx.getStorageSync("CLASSIFY_LIST")) + this.data.filterData.classifyList = wx.getStorageSync("CLASSIFY_LIST"); this.data.filterData.classifyList.forEach((item) => { item.active = 0; diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 1098726..a09617e 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -22,7 +22,7 @@ - + 郑州一才企业管理有限公司