Commit 7fc2b3087e90faf4f7208af326fc27ed90dbcf48
1 parent
cf9ca7dc
优化代码
Showing
2 changed files
with
4 additions
and
4 deletions
src/components/community/moreCommunity.vue
| ... | ... | @@ -70,14 +70,14 @@ export default { |
| 70 | 70 | }, |
| 71 | 71 | async listEnterCommunity(_page, _row) { |
| 72 | 72 | |
| 73 | - const { communitys, records } = await getMyEnteredCommunitys({ | |
| 73 | + const { communitys, total } = await getMyEnteredCommunitys({ | |
| 74 | 74 | _uid: '123mlkdinkldldijdhuudjdjkkd', |
| 75 | 75 | page: _page, |
| 76 | 76 | row: _row, |
| 77 | 77 | communityName: this.navCommunityInfo.searchCommunityName |
| 78 | 78 | }) |
| 79 | 79 | this.communitys = communitys |
| 80 | - this.total = records; | |
| 80 | + this.total = total; | |
| 81 | 81 | this.currentPage = _page; |
| 82 | 82 | |
| 83 | 83 | }, | ... | ... |