From 01ccd077258e8ccb298662ccda10f378c0b888d2 Mon Sep 17 00:00:00 2001 From: clkim Date: Tue, 10 Feb 2026 16:25:29 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=A0=90?= =?UTF-8?q?=EA=B2=80=20iOS=EB=82=98=20AOS=EB=A1=9C=20=EC=A0=91=EA=B7=BC=20?= =?UTF-8?q?=EC=8B=9C,=20=EB=A7=88=EC=BC=93=EB=B2=84=ED=8A=BC=20=EB=85=B8?= =?UTF-8?q?=EC=B6=9C=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EC=9D=B4?= =?UTF-8?q?=EC=8A=88=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/pages/inspection/index.vue | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/app/pages/inspection/index.vue b/app/pages/inspection/index.vue index 9956afd..1aa541e 100644 --- a/app/pages/inspection/index.vue +++ b/app/pages/inspection/index.vue @@ -185,19 +185,27 @@ const launchingStatus = computed(() => { }) const supportedPlatforms = computed(() => { - const platforms = getSupportedPlatforms( + const basePlatforms = getSupportedPlatforms( platformType.value, osType.value ) as PlatformTransformType[] - if (!device.isDesktop) { - platforms.splice(platforms.indexOf('pc'), 1) - if (device.isAndroid) { - platforms.splice(platforms.indexOf('app_store'), 1) - } - if (device.isApple) { - platforms.splice(platforms.indexOf('google_play'), 1) - } + // 데스크탑 환경에서는 모든 플랫폼 표시 + if (device.isDesktop) { + return basePlatforms + } + + // 모바일 환경에서는 pc 버튼 제거 + let platforms = basePlatforms.filter(platform => platform !== 'pc') + + // AOS 에서는 app_store 제거 + if (device.isAndroid) { + platforms = platforms.filter(platform => platform !== 'app_store') + } + + // iOS 에서는 google_play 제거 + if (device.isApple) { + platforms = platforms.filter(platform => platform !== 'google_play') } return platforms