优化代码

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) { async listEnterCommunity(_page, _row) {
const { communitys, records } = await getMyEnteredCommunitys({ const { communitys, total } = await getMyEnteredCommunitys({
_uid: '123mlkdinkldldijdhuudjdjkkd', _uid: '123mlkdinkldldijdhuudjdjkkd',
page: _page, page: _page,
row: _row, row: _row,
communityName: this.navCommunityInfo.searchCommunityName communityName: this.navCommunityInfo.searchCommunityName
}) })
this.communitys = communitys this.communitys = communitys
this.total = records; this.total = total;
this.currentPage = _page; this.currentPage = _page;
}, },

View File

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