fetch(modify):修改设备和lot卡下载模板
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m22s

This commit is contained in:
sexygoat
2026-01-31 11:37:11 +08:00
parent 31440b2904
commit 16d53709ef
2 changed files with 11 additions and 8 deletions

View File

@@ -560,11 +560,12 @@
// 下载模板
const downloadTemplate = () => {
// 使用 \t 前缀防止 Excel 将长数字转换为科学计数法
const csvContent = [
'iccid,msisdn',
'89860123456789012345,13800138000',
'89860123456789012346,13800138001',
'89860123456789012347,13800138002'
'\t89860123456789012345,\t13800138000',
'\t89860123456789012346,\t13800138001',
'\t89860123456789012347,\t13800138002'
].join('\n')
const BOM = '\uFEFF'