fix. 썸네일 드래그 수정
This commit is contained in:
@@ -8,6 +8,7 @@ import type {
|
||||
} from '#layers/types/api/pageData'
|
||||
|
||||
interface Props {
|
||||
drag?: boolean
|
||||
thumbnailData: PageDataResourceGroup[]
|
||||
paginationData?: PageDataResourceGroups
|
||||
arrows?: boolean
|
||||
@@ -15,6 +16,7 @@ interface Props {
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
drag: true,
|
||||
arrows: true,
|
||||
variant: 'default',
|
||||
})
|
||||
@@ -47,7 +49,7 @@ const mainOptions = computed<Options>(() => ({
|
||||
easing: 'ease-in-out',
|
||||
arrows: false,
|
||||
pagination: false,
|
||||
drag: false,
|
||||
drag: props.drag,
|
||||
}))
|
||||
|
||||
const thumbOptions = computed<Options>(() => ({
|
||||
|
||||
@@ -103,6 +103,7 @@ onBeforeUnmount(() => {
|
||||
class="title-md max-w-[944px]"
|
||||
/>
|
||||
<BlocksSlideThumbnail
|
||||
:drag="false"
|
||||
:thumbnail-data="slideData"
|
||||
variant="media"
|
||||
class="mt-[24px] md:mt-[32px]"
|
||||
|
||||
Reference in New Issue
Block a user