perf: 输入引导。导出数据编码格式。列表数字被隐藏
This commit is contained in:
@@ -125,7 +125,7 @@ export const fileDownload = ({
|
||||
filename: string;
|
||||
}) => {
|
||||
// 导出为文件
|
||||
const blob = new Blob([text], { type: `${type};charset=utf-8` });
|
||||
const blob = new Blob([`\uFEFF${text}`], { type: `${type};charset=utf-8;` });
|
||||
|
||||
// 创建下载链接
|
||||
const downloadLink = document.createElement('a');
|
||||
|
||||
Reference in New Issue
Block a user