This commit is contained in:
aaron 2025-03-23 14:39:10 +08:00
parent 69bc5386e8
commit 86d882770c
2 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ export default defineComponent({
//
const fetchCommunities = async () => {
try {
const res = await request.get('/api/community')
const res = await request.get('/api/community?limit=1000')
if (res.code === 200) {
if (res.data && res.data.items && Array.isArray(res.data.items)) {
communities.value = res.data.items

View File

@ -395,7 +395,7 @@ export default defineComponent({
//
const fetchCommunityList = async () => {
try {
const res = await request.get('/api/community')
const res = await request.get('/api/community?limit=1000')
if (res.code === 200 && res.data && res.data.items) {
communityList.value = res.data.items || []
} else {