fix(account): wallets ref TDZ 오류 수정 — computed 선언 전 초기화되도록 위로 이동
Deploy / deploy (push) Failing after 14m35s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-07-03 00:56:14 +09:00
parent 0b64f4f8cd
commit d364b52c73
+2 -1
View File
@@ -121,6 +121,8 @@ function onCurrencyChange() {
form.rate = null form.rate = null
} }
} }
// 계좌/카드 (repayTargetIsCard·repayTargetLoanWallet computed가 참조하므로 먼저 선언)
const wallets = ref([])
const isRepayment = computed(() => form.type === 'REPAYMENT') const isRepayment = computed(() => form.type === 'REPAYMENT')
// 상환 대상이 카드면 연회비 입력 노출(대출은 연회비 없음) // 상환 대상이 카드면 연회비 입력 노출(대출은 연회비 없음)
const repayTargetIsCard = computed(() => { const repayTargetIsCard = computed(() => {
@@ -278,7 +280,6 @@ async function runOcr(image) {
} }
// 계좌/카드 // 계좌/카드
const wallets = ref([])
async function loadWallets() { async function loadWallets() {
try { try {
wallets.value = await accountApi.wallets() wallets.value = await accountApi.wallets()