update
This commit is contained in:
parent
69bc5386e8
commit
86d882770c
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user