Merge branch 'feature/0813/yuany' of git.yoho.cn:fe/yoho-community-web into feature/0813/yuany
Showing
2 changed files
with
2 additions
and
4 deletions
@@ -71,13 +71,11 @@ export default { | @@ -71,13 +71,11 @@ export default { | ||
71 | let end = false; | 71 | let end = false; |
72 | 72 | ||
73 | if (result.code === 200) { | 73 | if (result.code === 200) { |
74 | - this.page++; | ||
75 | - | ||
76 | if (get(result, 'data.detailList' || []).length) { | 74 | if (get(result, 'data.detailList' || []).length) { |
77 | list = result.data.detailList; | 75 | list = result.data.detailList; |
78 | } | 76 | } |
79 | 77 | ||
80 | - if (this.page > get(result, 'data.totalPage')) { | 78 | + if (this.page++ > get(result, 'data.totalPage')) { |
81 | end = true; | 79 | end = true; |
82 | } | 80 | } |
83 | } else { | 81 | } else { |
1 | { | 1 | { |
2 | "name": "yoho-community-web", | 2 | "name": "yoho-community-web", |
3 | - "version": "6.9.8-beta51", | 3 | + "version": "6.9.8-beta52", |
4 | "private": true, | 4 | "private": true, |
5 | "description": "A New Yohobuy Project With Express", | 5 | "description": "A New Yohobuy Project With Express", |
6 | "repository": { | 6 | "repository": { |
-
Please register or login to post a comment