This commit is contained in:
2025-03-20 19:32:25 +08:00
parent ebc8c7bb26
commit 8e35b74d86
17 changed files with 3170 additions and 1840 deletions
+6 -1
View File
@@ -216,7 +216,9 @@
update_time: new Date().getTime(item.update_time)
})
})
this.listData = listData;
this.listData = this.loadType === 'loadMore' ? this.listData.concat(listData) : listData
this.loadType = null
},
// 初始化导航栏大小
initNavBarSize() {
@@ -252,9 +254,12 @@
// 刷新
refresh() {
this.loadType = 'refresh'
console.log(this.$refs.udb);
this.$refs.udb.loadData({
clear: true
}, () => {
console.log(1);
uni.stopPullDownRefresh()
// #ifdef APP-NVUE
this.showRefresh = false