fix: 修复账单加载失败(currentPage 残留赋值)

This commit is contained in:
wangxiaogang
2026-06-04 21:38:49 +08:00
parent 9764b5626b
commit f5adf7531f

View File

@@ -19,7 +19,6 @@ export const useTransactionStore = defineStore('transaction', () => {
})
transactions.value = data.list
total.value = data.total
currentPage.value = data.page
} catch (err) {
transactions.value = []
total.value = 0