방식 개편

This commit is contained in:
2026-11-05 14:07:55 +09:00
parent 6d78eccb65
commit 67a7fa0326
156 changed files with 107591 additions and 12747 deletions
+3 -3
View File
@@ -116,15 +116,15 @@ const nearbyDongs = computed(() => {
}
// 만약 동일 구의 동이 부족하면 전체에서 다른 동 가져오기
if (candidates.length < 5) {
if (candidates.length < 12) {
const others = allList
.filter(r => r.dong !== curDong && !candidates.includes(r.dong))
.map(r => r.dong)
candidates = [...candidates, ...others]
}
// 중복 제거 후 6개 반환
return Array.from(new Set(candidates)).slice(0, 6)
// 중복 제거 후 12개 반환
return Array.from(new Set(candidates)).slice(0, 12)
})
</script>