From 354f65afe85f24feb4ad1306782b0a56a4f794e8 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Thu, 10 Sep 2026 11:25:50 +0800 Subject: [PATCH] fix: avoid deprecated finance pagination control --- src/modules/finance/views/FinanceAccountView.test.mjs | 6 +++--- src/modules/finance/views/FinanceAccountView.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/finance/views/FinanceAccountView.test.mjs b/src/modules/finance/views/FinanceAccountView.test.mjs index fd863e7..3c0d176 100644 --- a/src/modules/finance/views/FinanceAccountView.test.mjs +++ b/src/modules/finance/views/FinanceAccountView.test.mjs @@ -39,9 +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 }} 条