fix: 修复账单加载失败(currentPage 残留赋值)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user