info
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user