We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当下载数据>=1w条时,出现重复数据:
function generateRawData( row: Record<string, number>, col: Record<string, number>, ) { const res: Record<string, any>[] = []; const rowKeys = Object.keys(row); const colKeys = Object.keys(col); for (let i = 0; i < row[rowKeys[0]]; i++) { for (let j = 0; j < row[rowKeys[1]]; j++) { for (let m = 0; m < col[colKeys[0]]; m++) { for (let n = 0; n < col[colKeys[1]]; n++) { res.push({ province: `p${i}`, city: `c${j}`, type: `type${m}`, subType: `subType${n}`, number: i * n, }); } } } } return res; } const dataCfg = { fields: { columns: ['province', 'city', 'type', 'subType', 'number'], }, data: generateRawData({ province: 10, city: 10 }, { type: 10, sub_type: 10 }), }; const options = { width: 600, height: 480, seriesNumber: { enable: true } }; <SheetComponent dataCfg={dataCfg} options={options} header={{ export: { open: true }}} />
如上代码进行配置
The text was updated successfully, but these errors were encountered:
fix: 修复下载数据重复 close antvis#2718
f2eec0f
181801b
fix: 修复下载数据重复 close #2718 (#2719)
f0d5192
* fix: 修复下载数据重复 close #2718 * fix: 修复透视表导出报错问题 * test: 提交单测 * refactor: 修改变量名 * refactor: 抽取公用变量、方法到 BaseDataCellCopy 基类 --------- Co-authored-by: Harvey Wang <[email protected]>
🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.21 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
No branches or pull requests
🏷 Version
Sheet Type
🖋 Description
当下载数据>=1w条时,出现重复数据:
⌨️ Code Snapshots
🔗 Reproduce Link
🤔 Steps to Reproduce
如上代码进行配置
😊 Expected Behavior
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: