记录
This commit is contained in:
@@ -59,13 +59,14 @@ export default {
|
|||||||
...mapState(['user', 'token']),
|
...mapState(['user', 'token']),
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.current = 1
|
||||||
this.getHistoryList()
|
this.getHistoryList()
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
if(this.current > this.pages) {
|
if(this.current > this.pages) {
|
||||||
return this.$u.toast('没有更多记录')
|
return this.$u.toast('没有更多记录')
|
||||||
}
|
}
|
||||||
this.current = this.current + 1
|
this.current = 1
|
||||||
this.getHistoryList()
|
this.getHistoryList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user