fix(admin-web): 修复 ExpiredRewardsSection 中 ApiResponse 类型使用错误

ApiResponse<T> 类型只有 code, message, data 属性,没有 success
将 response.success && response.data 改为 response.data

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-06 22:44:37 -08:00
parent 95cb3510aa
commit d53b1c7499
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ function ExpiredRewardsSection({ data }: { data: SystemAccountReportResponse['ex
pageSize,
rightType: rightType || undefined,
});
if (response.success && response.data) {
if (response.data) {
setEntriesData(response.data);
}
} catch (error) {