refactor: ♻️ 代码规范优化
This commit is contained in:
@@ -586,6 +586,7 @@ cols.value.forEach((item) => {
|
||||
fields.push(item.prop);
|
||||
}
|
||||
});
|
||||
|
||||
const enum ExportsOriginEnum {
|
||||
CURRENT = "current",
|
||||
SELECTED = "selected",
|
||||
@@ -950,7 +951,7 @@ function exportPageData(formData: IObject = {}) {
|
||||
}
|
||||
|
||||
// 浏览器保存文件
|
||||
function saveXlsx(fileData: BlobPart, fileName: string) {
|
||||
function saveXlsx(fileData: any, fileName: string) {
|
||||
const fileType =
|
||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user