From a5b2c99fc4c1bdc83964cd485bc2214f9531e407 Mon Sep 17 00:00:00 2001 From: clkim Date: Mon, 3 Nov 2025 11:26:31 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20Launcher=20=ED=83=80=EC=9E=85=20?= =?UTF-8?q?=EA=B3=B5=ED=86=B5=EC=9C=BC=EB=A1=9C=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/atoms/Button/Launcher.vue | 3 +-- layers/templates/FxDownload01/index.vue | 4 +--- layers/types/components/button.ts | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/layers/components/atoms/Button/Launcher.vue b/layers/components/atoms/Button/Launcher.vue index 9ab336a..a11762d 100644 --- a/layers/components/atoms/Button/Launcher.vue +++ b/layers/components/atoms/Button/Launcher.vue @@ -3,10 +3,9 @@ import type { CSSProperties } from 'vue' import type { DownloadButtonType, ButtonVariant, + Platform, } from '#layers/types/components/button' -type Platform = 'google_play' | 'app_store' | 'pc' | 'stove' - interface Props { platform: Platform type?: DownloadButtonType diff --git a/layers/templates/FxDownload01/index.vue b/layers/templates/FxDownload01/index.vue index a3d91fb..7754804 100644 --- a/layers/templates/FxDownload01/index.vue +++ b/layers/templates/FxDownload01/index.vue @@ -2,9 +2,7 @@ import { SplideSlide } from '@splidejs/vue-splide' import { getComponentGroup, getComponentGroupAry } from '#layers/utils/dataUtil' import type { PageDataTemplateComponents } from '#layers/types/api/pageData' - -// Types -type Platform = 'google_play' | 'app_store' | 'pc' | 'stove' +import type { Platform } from '#layers/types/components/button' // Props interface Props { diff --git a/layers/types/components/button.ts b/layers/types/components/button.ts index f44febe..37513b6 100644 --- a/layers/types/components/button.ts +++ b/layers/types/components/button.ts @@ -10,3 +10,5 @@ export type DownloadButtonType = 'default' | 'single' | 'duplication' | 'custom' export type ButtonSize = 'large' | 'medium' | 'small' | 'extra-small' export type ButtonVariant = 'filled' | 'outlined' + +export type Platform = 'google_play' | 'app_store' | 'pc' | 'stove'