Commit 7fc2b3087e90faf4f7208af326fc27ed90dbcf48

Authored by wuxw
1 parent cf9ca7dc

优化代码

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 },
... ...
src/views/user/login/Login.vue
... ... @@ -44,8 +44,8 @@ export default {
44 44 logo: '',
45 45 companyName:'',
46 46 loginForm: {
47   - username: 'wuxw',
48   - passwd: 'admin',
  47 + username: '',
  48 + passwd: '',
49 49 validateCode: ''
50 50 },
51 51 captchaUrl: '',
... ...