fix. arrow 로그 코드 수정

This commit is contained in:
clkim
2025-10-21 09:49:02 +09:00
parent 07f3deae7c
commit e86920b496
5 changed files with 17 additions and 21 deletions

View File

@@ -60,11 +60,12 @@ const handleChange = (
'buttonList'
)
}
const {locale} = useI18n()
const { locale } = useI18n()
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
const onArrowClick = (direction, targetIndex) => {
const logTraking = direction == 'prev' ? props.components.arrow.groups[0] : props.components.arrow.groups[1];
sendLog(locale.value, useAnalyticsLogDataDirect(logTraking, 1))
const arrowGroupAry = getComponentGroupAry(props.components, 'arrow')
const logTracking = arrowGroupAry?.[direction === 'prev' ? 0 : 1]
sendLog(locale.value, useAnalyticsLogDataDirect(logTracking, 1))
}
</script>