fix. arrow 로그 코드 수정
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user