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:
parent
95cb3510aa
commit
d53b1c7499
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue