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

@@ -57,11 +57,9 @@ const handleChange = (
const { locale } = useI18n()
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
const onArrowClick = (direction, targetIndex) => {
const logTraking =
direction == 'prev'
? getComponentGroupAry(props.components, 'arrow')?.groups[0]
: getComponentGroupAry(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>