From 437d2d880c7479c848d0617fa1d95189e803300d Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 19:32:02 +0800
Subject: [PATCH] 提交
---
wechat_jiaxuan/components/disRealpic/index.js | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/wechat_jiaxuan/components/disRealpic/index.js b/wechat_jiaxuan/components/disRealpic/index.js
index 80fa13c..95e7e49 100644
--- a/wechat_jiaxuan/components/disRealpic/index.js
+++ b/wechat_jiaxuan/components/disRealpic/index.js
@@ -51,6 +51,10 @@
})
})
},
+ scrolltoupper() {
+ this.setData({ pageNum: 1,datalist: [],total: 0})
+ this.getList()
+ },
scrolltolower() {
console.log('瑙﹀簳浜嬩欢');
const { total, dataList, pageNum } = this.data
@@ -147,7 +151,7 @@
const { cateList } = this.data
cateList.forEach(item => {
item.paramIndex = -1
- item.paramName = ''
+ item.paramName = item.paramName || ''
})
this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
},
@@ -157,7 +161,7 @@
},
subParam() {
this.setData({ activeParam: [] })
- this.setData({ pageNum: 1,dataList: [],total: 0})
+ this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
this.getList()
},
changeShowParams(e){
--
Gitblit v1.9.3