fix. 게임 실행 Flow에서 OS 체크하는 로직 추가

This commit is contained in:
clkim
2025-11-11 19:43:24 +09:00
parent 13779777a9
commit 24ca011399
5 changed files with 28 additions and 12 deletions

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
const showSnsList = ref(false)
const { tm } = useI18n()
const gameDataStore = useGameDataStore()
const modalStore = useModalStore()
@@ -33,9 +34,9 @@ const handleCopy = async () => {
try {
const url = window.location.href
await navigator.clipboard.writeText(url)
handleOpenToast('복사 성공')
handleOpenToast(tm('Alert_Copy_Complete'))
} catch (error) {
console.error('복사 실패:', error)
console.error('[handleCopy] Error:', error)
}
}
</script>

View File

@@ -6,9 +6,7 @@ const { toast } = modalStore
<template>
<Transition name="fade">
<div v-if="toast.storeIsOpen" class="toast-container">
<p class="toast-text">
{{ toast.storeContentText }}
</p>
<p v-dompurify-html="toast.storeContentText" class="toast-text"></p>
</div>
</Transition>
</template>