From c08c76c22a786c23084f032b3b11d2c3c47530c1 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Thu, 10 Sep 2026 11:17:04 +0800 Subject: [PATCH] fix: use supported finance pagination bindings --- src/modules/finance/views/FinanceAccountView.test.mjs | 3 +++ src/modules/finance/views/FinanceAccountView.vue | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/finance/views/FinanceAccountView.test.mjs b/src/modules/finance/views/FinanceAccountView.test.mjs index 7c1dbbc..fd863e7 100644 --- a/src/modules/finance/views/FinanceAccountView.test.mjs +++ b/src/modules/finance/views/FinanceAccountView.test.mjs @@ -39,6 +39,9 @@ test('renders server balances, ledger and recharge states without internal ident assert.match(viewSource, /v-loading="pageLoading"/) assert.match(viewSource, /function formatAccountAmount[\s\S]*value == null \? '—' : formatAmount\(value\)/) assert.match(viewSource, /formatAccountAmount\(account\?\.actualBalance\)/) + assert.match(viewSource, /v-model:current-page="ledgerPage"/) + assert.match(viewSource, /v-model:current-page="rechargePage"/) + assert.doesNotMatch(viewSource, / { void loadAccountData() }) -
共 {{ ledgerTotal }} 条
+
共 {{ ledgerTotal }} 条
@@ -261,7 +261,7 @@ onMounted(() => { void loadAccountData() }) -
共 {{ rechargeTotal }} 条
+
共 {{ rechargeTotal }} 条