fix. [PWT-158] 공식 영상 > 추천 영상 자동 롤링 기능 미동작

This commit is contained in:
clkim
2025-12-02 14:28:58 +09:00
parent 3348c21696
commit cc5f7e3ef4
9 changed files with 49 additions and 5 deletions

View File

@@ -29,15 +29,17 @@ const slideData = computed(() => {
})
})
const thumbnailData = computed(() => {
return slideData.value.map(item => item.pagenaviThumbnail?.groups?.[0])
return slideData.value
.map(item => item?.pagenaviThumbnail?.groups?.[0])
.filter((group): group is NonNullable<typeof group> => group != null)
})
const paginationData = computed(() => {
return getComponentGroupAry(props.components, 'pagination')
})
const videoSrc = (item: PageDataTemplateComponent) => {
const src = getComponentGroup(item, 'video')?.res_path
return getCurrentSrc(src)
const videoData = getComponentGroup(item, 'video')
return getCurrentSrc(videoData)
}
const handleSplideMove = (_splide: SplideType, newIndex: number) => {