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,14 +70,14 @@ export default { | ||
| 70 | }, | 70 | }, |
| 71 | async listEnterCommunity(_page, _row) { | 71 | async listEnterCommunity(_page, _row) { |
| 72 | 72 | ||
| 73 | - const { communitys, records } = await getMyEnteredCommunitys({ | 73 | + const { communitys, total } = await getMyEnteredCommunitys({ |
| 74 | _uid: '123mlkdinkldldijdhuudjdjkkd', | 74 | _uid: '123mlkdinkldldijdhuudjdjkkd', |
| 75 | page: _page, | 75 | page: _page, |
| 76 | row: _row, | 76 | row: _row, |
| 77 | communityName: this.navCommunityInfo.searchCommunityName | 77 | communityName: this.navCommunityInfo.searchCommunityName |
| 78 | }) | 78 | }) |
| 79 | this.communitys = communitys | 79 | this.communitys = communitys |
| 80 | - this.total = records; | 80 | + this.total = total; |
| 81 | this.currentPage = _page; | 81 | this.currentPage = _page; |
| 82 | 82 | ||
| 83 | }, | 83 | }, |
src/views/user/login/Login.vue
| @@ -44,8 +44,8 @@ export default { | @@ -44,8 +44,8 @@ export default { | ||
| 44 | logo: '', | 44 | logo: '', |
| 45 | companyName:'', | 45 | companyName:'', |
| 46 | loginForm: { | 46 | loginForm: { |
| 47 | - username: 'wuxw', | ||
| 48 | - passwd: 'admin', | 47 | + username: '', |
| 48 | + passwd: '', | ||
| 49 | validateCode: '' | 49 | validateCode: '' |
| 50 | }, | 50 | }, |
| 51 | captchaUrl: '', | 51 | captchaUrl: '', |