From 7fc2b3087e90faf4f7208af326fc27ed90dbcf48 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Wed, 23 Jul 2025 11:39:16 +0800 Subject: [PATCH] 优化代码 --- src/components/community/moreCommunity.vue | 4 ++-- src/views/user/login/Login.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/community/moreCommunity.vue b/src/components/community/moreCommunity.vue index 107b79f..4b3fdf5 100644 --- a/src/components/community/moreCommunity.vue +++ b/src/components/community/moreCommunity.vue @@ -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; }, diff --git a/src/views/user/login/Login.vue b/src/views/user/login/Login.vue index 1cc6ee1..3f68071 100644 --- a/src/views/user/login/Login.vue +++ b/src/views/user/login/Login.vue @@ -44,8 +44,8 @@ export default { logo: '', companyName:'', loginForm: { - username: 'wuxw', - passwd: 'admin', + username: '', + passwd: '', validateCode: '' }, captchaUrl: '', -- libgit2 0.21.4