feat. 공통 로그 변경, 고정 템플릿 로그 추가
This commit is contained in:
@@ -8,15 +8,12 @@ interface Props {
|
||||
const props = defineProps<Props>()
|
||||
|
||||
const { locale } = useI18n()
|
||||
const { sendLog, useAnalyticsData } = useAnalytics()
|
||||
const { sendLog } = useAnalytics()
|
||||
|
||||
const handleArrowClick = (direction: 'prev' | 'next') => {
|
||||
if (props.arrowsData) {
|
||||
const arrowIndex = direction === 'prev' ? 0 : 1
|
||||
sendLog(
|
||||
locale.value,
|
||||
useAnalyticsData(props.arrowsData[arrowIndex]?.tracking)
|
||||
)
|
||||
sendLog(locale.value, props.arrowsData[arrowIndex]?.tracking)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user