[Bug] 交叉表 records 数量很大(20w)且开启总计配置时,出现栈溢出报错
Open
@fangsmile is already working on this.
Since May 23, 2025.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.18.3
Link to Minimal Reproduction
--
Steps to Reproduce
定位到代码使用了 push(...records) 的操作,当 records 数量很大时,push 函数参数数量巨大,直接导致了栈溢出
Current Behavior
RangeError: Maximum call stack size exceeded
Expected Behavior
期望 records 数量很多且开启总计配置也能正常运行
Environment
- OS:macOS
- Browser:chrome
- Framework: react
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.