fix. 슬라이드 감도 조절
This commit is contained in:
@@ -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,
|
||||
}))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user