fix. 슬라이드 감도 조절

This commit is contained in:
clkim
2025-12-05 14:07:12 +09:00
parent f124faa1de
commit 52185029dc
7 changed files with 12 additions and 11 deletions

View File

@@ -154,18 +154,18 @@ const { data: rewardCompletedData } = await useAsyncData(
// Reward Images
const rewardImages = computed(() => {
const defaultList = getComponentGroupAry(props.components, 'imgAccReward')
const completeList = getComponentGroupAry(props.components, 'imgAccReward')
const incompleteList = getComponentGroupAry(
props.components,
'imgAccRewardIncomplete'
)
if (!defaultList?.length) return []
if (!completeList?.length || !incompleteList?.length) return []
return defaultList.map((defaultItem, index) => ({
id: defaultItem.id ?? `reward-${index}`,
incomplete: incompleteList?.[index] ?? null,
complete: defaultItem ?? null,
return completeList.map((completeItem, index) => ({
id: completeItem.id ?? `reward-${index}`,
incomplete: incompleteList?.[index],
complete: completeItem,
flagType: rewardCompletedData.value?.[index]?.flag_type ?? 0,
}))
})