细节优化
This commit is contained in:
@@ -161,6 +161,7 @@ const WalletPage: React.FC = () => {
|
||||
set_load_transactions_params((prev) => {
|
||||
return {
|
||||
...prev,
|
||||
page: 1,
|
||||
type,
|
||||
transaction_sub_type,
|
||||
};
|
||||
@@ -628,6 +629,7 @@ const WalletPage: React.FC = () => {
|
||||
const [year, month] = e;
|
||||
set_load_transactions_params({
|
||||
...load_transactions_params,
|
||||
page: 1,
|
||||
date: `${year}-${String(month).padStart(2, "0")}`,
|
||||
});
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user