diff --git a/frontend/mining-admin-web/src/features/system-accounts/api/system-accounts.api.ts b/frontend/mining-admin-web/src/features/system-accounts/api/system-accounts.api.ts index 78fbe03f..7f068fa4 100644 --- a/frontend/mining-admin-web/src/features/system-accounts/api/system-accounts.api.ts +++ b/frontend/mining-admin-web/src/features/system-accounts/api/system-accounts.api.ts @@ -31,7 +31,7 @@ export function categorizeAccounts(accounts: SystemAccount[]) { const regionAccounts = ['PROVINCE', 'CITY']; return { - mainPools: [], // 池账户现在从 poolAccounts API 获取 + mainPools: [] as SystemAccount[], // 池账户现在从 poolAccounts API 获取 systemAccounts: accounts.filter((a) => coreAccounts.includes(a.accountType)), fixedAccounts: accounts.filter((a) => regionAccounts.includes(a.accountType)), otherAccounts: accounts.filter(