fix: 修复分页大小切换不生效的BUG

- 使用useCallback确保fetchAccounts函数正确依赖最新状态
- 修复handlePageSizeChange中的状态更新逻辑
- 将分页选项从100000改为10000,更符合实际使用需求
- 添加调试日志帮助排查问题

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-24 05:33:06 +08:00
parent 7aaeffa498
commit 8d02855249
2 changed files with 14 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ export function AccountTable({
<SelectItem value="20">20</SelectItem>
<SelectItem value="100">100</SelectItem>
<SelectItem value="1000">1000</SelectItem>
<SelectItem value="100000">100000</SelectItem>
<SelectItem value="10000">10000</SelectItem>
</SelectContent>
</Select>
<span className="text-sm text-muted-foreground"></span>