fix. api 변경 관련 로직 변경

This commit is contained in:
clkim
2025-10-22 11:14:07 +09:00
parent dc369e8065
commit 8e0cdc9478
10 changed files with 80 additions and 98 deletions

View File

@@ -6,6 +6,7 @@ import {
getComponentGroup,
hasComponentGroup,
} from '#layers/utils/dataUtil'
import { getResponsiveSrc } from '#layers/utils/styleUtil'
import type { Splide as SplideType } from '@splidejs/splide'
import type {
PageDataTemplateComponents,
@@ -88,6 +89,7 @@ const handleSplideMove = (_splide: SplideType, newIndex: number) => {
class="mt-2 text-left md:mt-5"
/>
<AtomsVideo
v-if="hasComponentGroup(item, 'video')"
:src="currentVideoSrc(item)"
:autoplay="currentSlideIndex === index"
muted