From 866abee8602105a9b6166e89b7307793d78a34d1 Mon Sep 17 00:00:00 2001 From: ByungCheol Date: Sun, 28 Jun 2026 11:24:59 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AC=B4=EB=A3=8C=20=ED=9A=8C=EC=9B=90?= =?UTF-8?q?=20=EA=B0=80=EA=B3=84=EB=B6=80=20=EB=82=B4=EC=97=AD=20=EC=A7=84?= =?UTF-8?q?=EC=9E=85=20=EC=8B=9C=20=EC=9C=A0=EB=A3=8C=20=EC=95=88=EB=82=B4?= =?UTF-8?q?=EB=A1=9C=20=ED=8A=95=EA=B8=B0=EB=8A=94=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - onMounted 의 runRecurrings(고정지출 자동반영)는 유료 전용 경로(/recurrings/run)라 무료 회원이 403 → premium:required → /upgrade 로 리다이렉트되던 문제 - isPremium 일 때만 runRecurrings 호출, '이 내역을 고정지출로 등록' 버튼도 유료에만 노출 Co-Authored-By: Claude Opus 4.8 --- src/views/account/AccountView.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/account/AccountView.vue b/src/views/account/AccountView.vue index 7219e33..92e98d4 100644 --- a/src/views/account/AccountView.vue +++ b/src/views/account/AccountView.vue @@ -803,10 +803,13 @@ async function analyzePasted() { onMounted(async () => { // 진입 시 밀린 정기 거래를 먼저 반영한 뒤 목록을 불러온다 (중복 없이) - try { - await accountApi.runRecurrings() - } catch { - // 정기 거래 반영 실패는 가계부 조회를 막지 않는다 + // 고정지출은 유료 전용 — 무료 회원은 호출 자체를 건너뛴다(403/업그레이드 리다이렉트 방지) + if (isPremium.value) { + try { + await accountApi.runRecurrings() + } catch { + // 정기 거래 반영 실패는 가계부 조회를 막지 않는다 + } } load() loadTagOptions() @@ -1102,7 +1105,7 @@ onMounted(async () => {

{{ formInfo }}