From 1587f6e47219342a112970da5e870525184121cc Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 15:21:28 +0800
Subject: [PATCH] lll
---
wechat_jiaxuan/components/disProduct/index.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.js b/wechat_jiaxuan/components/disProduct/index.js
index 30e7d2b..31babd3 100644
--- a/wechat_jiaxuan/components/disProduct/index.js
+++ b/wechat_jiaxuan/components/disProduct/index.js
@@ -28,7 +28,6 @@
attached() {
this.getCatelist()
var app = getApp()
- console.log('globalData', app.globalData);
if(app.globalData.catalogCode){
this.setData({ catalogCode: app.globalData.catalogCode })
setTimeout(() => {
@@ -93,6 +92,10 @@
})
}
},
+ scrolltoupper() {
+ this.setData({ pageNum: 1,datalist: [],total: 0})
+ this.getList()
+ },
cateClick(e) {
const catalogCode = e.currentTarget.dataset.code
this.setData({ catalogCode, tagCodes: [] })
--
Gitblit v1.9.3