Compare commits
No commits in common. "52d36d8eff9a0bf3bc82de27e45f63a8cf100577" and "ff8ba354b3aefaf5da95c964c1803703a2e95ca6" have entirely different histories.
52d36d8eff
...
ff8ba354b3
@ -176,7 +176,6 @@
|
||||
/**初始化数据*/
|
||||
initData() {
|
||||
pointList(this.queryParams).then(res => {
|
||||
this.isTriggered = false
|
||||
if (res.code == 200) {
|
||||
if (this.queryParams.pageNum == 1) {
|
||||
this.dataList = res.data.records
|
||||
@ -185,14 +184,7 @@
|
||||
}
|
||||
this.total = res.data.total
|
||||
}
|
||||
}).catch((e) => {
|
||||
this.isTriggered = false
|
||||
uni.showToast({
|
||||
icon: 'error',
|
||||
duration: 2000,
|
||||
title: e
|
||||
});
|
||||
})
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 计算提现的积分等于多少钱
|
||||
@ -304,7 +296,6 @@
|
||||
}
|
||||
//页码+1,调用获取数据的方法获取第二页数据
|
||||
this.queryParams.pageNum++
|
||||
this.initData()
|
||||
},
|
||||
/**
|
||||
* 下拉刷新数据
|
||||
@ -313,7 +304,6 @@
|
||||
this.isTriggered = true
|
||||
this.queryParams.pageNum = 1
|
||||
this.total = 0
|
||||
this.initData()
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user