优化代码

This commit is contained in:
wuxw 2025-07-23 11:39:16 +08:00
parent cf9ca7dca6
commit 7fc2b3087e
2 changed files with 4 additions and 4 deletions

View File

@ -70,14 +70,14 @@ export default {
},
async listEnterCommunity(_page, _row) {
const { communitys, records } = await getMyEnteredCommunitys({
const { communitys, total } = await getMyEnteredCommunitys({
_uid: '123mlkdinkldldijdhuudjdjkkd',
page: _page,
row: _row,
communityName: this.navCommunityInfo.searchCommunityName
})
this.communitys = communitys
this.total = records;
this.total = total;
this.currentPage = _page;
},

View File

@ -44,8 +44,8 @@ export default {
logo: '',
companyName:'',
loginForm: {
username: 'wuxw',
passwd: 'admin',
username: '',
passwd: '',
validateCode: ''
},
captchaUrl: '',