Commit b73bd5b7 by zhangzhen

页面刷新bug优化

parent a8ea6fea
......@@ -228,13 +228,10 @@
countData:{}
};
},
onShow() {
onLoad(option) {
this.pageData.offset = 0;
this.onLoading();
},
onLoad(option) {
},
onReachBottom() {
if (this.status == 'loadmore') {
this.pageData.offset += 1;
......
......@@ -235,12 +235,9 @@
count: 0
};
},
onShow() {
this.onLoading();
this.pageData.offset = 0;
},
onLoad(option) {
this.pageData.offset = 0;
this.onLoading();
},
onReachBottom() {
if (this.status == 'loadmore') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment