mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
code refactor
This commit is contained in:
@@ -467,11 +467,11 @@ export const useTransactionsStore = defineStore('transactions', {
|
||||
}
|
||||
|
||||
if (this.transactionsFilter.accountId && this.transactionsFilter.accountId !== '0') {
|
||||
querys.push('accountId=' + this.transactionsFilter.accountId);
|
||||
querys.push('accountIds=' + this.transactionsFilter.accountId);
|
||||
}
|
||||
|
||||
if (this.transactionsFilter.categoryId && this.transactionsFilter.categoryId !== '0') {
|
||||
querys.push('categoryId=' + this.transactionsFilter.categoryId);
|
||||
querys.push('categoryIds=' + this.transactionsFilter.categoryId);
|
||||
}
|
||||
|
||||
querys.push('dateType=' + this.transactionsFilter.dateType);
|
||||
|
||||
Reference in New Issue
Block a user