fix. api 변경 관련 로직 변경
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user