Merge branch 'feature/20250910-all' into feature/20251001-gil

This commit is contained in:
“hyeonggkim”
2025-10-21 13:56:56 +09:00
7 changed files with 22 additions and 27 deletions

View File

@@ -14,17 +14,16 @@ interface Props {
drag?: boolean
}
const props = withDefaults(defineProps<Props>(), {
variant: 'default',
drag: true,
})
const emit = defineEmits(['arrowClick'])
// Splide 화살표 로직을 위한 composable 사용
const { addArrowClickListeners } = useSplideArrow()
const props = withDefaults(defineProps<Props>(), {
variant: 'default',
drag: true,
})
let mainInst: SplideType | null = null
let thumbsInst: SplideType | null = null
@@ -92,7 +91,6 @@ onMounted(() => {
if (mainInst && thumbsInst) {
mainInst.sync(thumbsInst)
// 썸네일 슬라이드의 화살표 버튼에 이벤트 리스너 추가
nextTick(() => {
addArrowClickListeners(thumbsInst, (direction, targetIndex) => {