From 2c55f0a0bb9fb7bd4c754faf5fb56bcf8c48f54d Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Mon, 4 Mar 2024 17:09:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 10 ++++++++-- pages/index/index.wxml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) 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 @@ - + 郑州一才企业管理有限公司