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>(() => ({
|
||||
|
||||
Reference in New Issue
Block a user