fix. 로그 전송 수정

This commit is contained in:
clkim
2025-12-15 16:48:11 +09:00
parent f955b76e62
commit 5af62adefd
8 changed files with 53 additions and 35 deletions

View File

@@ -32,7 +32,7 @@ const resultGetMultilingual = await useGetMultilingual({
baseApiUrl: dataResourcesUrl,
fileName: multilingualFileName,
})
const { tm, locale }: any = useI18n({
const { t, tm, locale }: any = useI18n({
useScope: 'local',
messages: Object(resultGetMultilingual?.value?.multilingual),
})
@@ -230,7 +230,11 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
v-else-if="breakpoints.isMd || breakpoints.isDesktop"
platform="pc"
class="!w-full !max-w-[300px]"
@click="handleSendLog('PC 버전 다운로드')"
@click="
handleSendLog(
t('Download_Button_PC_Download', {}, { locale: 'ko' })
)
"
>
<span>{{ tm('Download_Button_PC') }}</span>
</BlocksButtonLauncher>
@@ -249,7 +253,11 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
target="_self"
rel="noopener noreferrer"
class="inline-flex items-center justify-start gap-[4px] text-[#3C75FF] text-[16px] font-[500] reading-[24px] tracking-[-0.48px]"
@click="handleSendLog('스토브 PC 클라이언트 다운로드')"
@click="
handleSendLog(
t('Download_Button_STOVE', {}, { locale: 'ko' })
)
"
>
<span>{{ tm('Download_Button_STOVE') }}</span>
<AtomsIconsDownloadLine color="#3C75FF" />
@@ -304,7 +312,7 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
"
:platform="`${os.platformCode as Platform}`"
class="!w-full"
@click="handleSendLog(os.platformCode)"
@click="handleSendLog(formatSnakeToTitle(os.platformCode))"
>
<span>{{ os.platformText }}</span>
</BlocksButtonLauncher>
@@ -388,7 +396,7 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
gameNo: gameData?.game_code?.toString(),
locale: locale as string,
}),
handleSendLog('내 PC 사양 확인하기'),
handleSendLog(t('Download_Button_SpecCheck', {}, { locale: 'ko' })),
]"
>
<em