fix. [PWT-158] 공식 영상 > 추천 영상 자동 롤링 기능 미동작
This commit is contained in:
@@ -8,6 +8,7 @@ import type { PageDataResourceGroups } from '#layers/types/api/pageData'
|
||||
interface Props {
|
||||
drag?: boolean
|
||||
autoplay?: boolean
|
||||
interval?: number
|
||||
arrows?: boolean
|
||||
pagination?: boolean
|
||||
paginationData?: PageDataResourceGroups
|
||||
@@ -16,6 +17,7 @@ interface Props {
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
drag: true,
|
||||
autoplay: false,
|
||||
interval: 5000,
|
||||
arrows: true,
|
||||
pagination: true,
|
||||
})
|
||||
@@ -37,6 +39,7 @@ const options = computed((): ResponsiveOptions => {
|
||||
updateOnMove: true,
|
||||
drag: props.drag,
|
||||
autoplay: props.autoplay,
|
||||
interval: props.interval,
|
||||
pauseOnHover: false,
|
||||
pauseOnFocus: false,
|
||||
arrows: props.arrows,
|
||||
|
||||
Reference in New Issue
Block a user