|
@@ -30,6 +30,15 @@ export default {
|
|
|
uni.stopPullDownRefresh();
|
|
uni.stopPullDownRefresh();
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
|
|
+ onReachBottom () {
|
|
|
|
|
+ if (!this.list.finished) {
|
|
|
|
|
+ this._list().then(res => {
|
|
|
|
|
+ uni.stopPullDownRefresh()
|
|
|
|
|
+ })
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uni.stopPullDownRefresh()
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
async init() {
|
|
async init() {
|
|
|
this._list();
|
|
this._list();
|