fix. [PWT-93] 이미지 타입형 컨텐츠 리스트 미노출 수정
This commit is contained in:
@@ -28,13 +28,16 @@ const slideData = computed(() => {
|
||||
maxLength: 10,
|
||||
})
|
||||
})
|
||||
const thumbnailData = computed(() => {
|
||||
return slideData.value.map(item => item.pagenaviThumbnail?.groups?.[0])
|
||||
})
|
||||
const paginationData = computed(() => {
|
||||
return getComponentGroupAry(props.components, 'pagination')
|
||||
})
|
||||
|
||||
const videoSrc = (item: PageDataTemplateComponent) => {
|
||||
const src = getComponentGroup(item, 'video')?.res_path
|
||||
return getCurrentSrc(src, { resourcesType: 'video' })
|
||||
return getCurrentSrc(src)
|
||||
}
|
||||
|
||||
const handleSplideMove = (_splide: SplideType, newIndex: number) => {
|
||||
@@ -45,7 +48,7 @@ const handleSplideMove = (_splide: SplideType, newIndex: number) => {
|
||||
<template>
|
||||
<section class="section-standard">
|
||||
<BlocksSlideThumbnail
|
||||
:slide-data="slideData"
|
||||
:thumbnail-data="thumbnailData"
|
||||
:pagination-data="paginationData"
|
||||
@move="handleSplideMove"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user