export-excel 导出大数据量情况下 excel 文件损坏 Link被删除
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
当我导出3w 行左右数据时候,Excel文件正常
,数据量达到3.7w 行左右时候,提示文件损坏,修复后提示删除超链接
#### 截图或视频:
可以的话,尽可能提供截图或视频来补充描述你的问题...


#### 如何复现(请务必完整填写下面内容):
1. 你是如何使用 amis 的?
SDK
2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
amis v6.0.0
3. 粘贴有问题的完整 `amis schema` 代码:
let exportExcel = [
{
"type": "export-excel",
label: "@Tag.L("Export")",
"filename": "ReimbursementVoucherData",
"api": {
url: "/api/ReimbursementVoucher/ReportAllData",
method: "post",
data: {
"formNo": "${FormNo}",
"RequestorName": "${RequestorName}",
"status": "${Status}",
"SiteCodes": "${SiteCodes}",
"SAPCompanyCode": "${SAPCompanyCode}",
"Expatriate": "${Expatriate}",
"EndUserNo": "${EndUserNo}",
"EndUserName": "${EndUserName}",
"ExpenseType": "${ExpenseType}",
"FinAPName": "${FinAPName}",
"FormType": "${FormType}",
"SubmitDate": "${SubmitDate}",
"CompletedDate": "${CompletedDate}"
}
},
}
];
4. 操作步骤
请简单描述一下复现的操作步骤...
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the export-excel component and reproduce the issue using the provided schema, amis v6.0.0, and the /api/ReimbursementVoucher/ReportAllData endpoint. Compare exports around 30,000 and 37,000 rows; done means the larger Excel file opens without repair and does not delete hyperlinks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100