fix. api 변경 관련 로직 변경

This commit is contained in:
clkim
2025-10-22 11:14:07 +09:00
parent dc369e8065
commit 8e0cdc9478
10 changed files with 80 additions and 98 deletions

View File

@@ -1,39 +0,0 @@
<script setup lang="ts">
import type { ClassType } from '#layers/types/Common'
interface Props {
to: string
target?: string
class?: ClassType
}
const props = withDefaults(defineProps<Props>(), {
target: '',
class: '',
})
const componentTag = computed(() => {
return props.target === '_blank' ? 'a' : 'AtomsLocaleLink'
})
const componentProps = computed(() => {
if (props.target === '_blank') {
return {
href: props.to,
target: props.target,
class: props.class,
}
}
return {
to: props.to,
class: props.class,
}
})
</script>
<template>
<component :is="componentTag" v-bind="{ ...componentProps }">
<slot />
</component>
</template>

View File

@@ -9,7 +9,7 @@ const { gameData } = useGameDataStore()
const stoveInflowPath = runtimeConfig.public.stoveInflowPath
const stoveGameNo = runtimeConfig.public.stoveGameNo
const gnbData = gameData?.stove_gnb
const gnbData = gameData?.stove_gnb_json
const languageCodes = computed(() => {
if (Array.isArray(availableLocales)) {