bill 1 年之前
父节点
当前提交
9cdc9bb0b4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/util/pc4xlsl.ts

+ 2 - 2
src/util/pc4xlsl.ts

@@ -49,7 +49,7 @@ export const downloadPointsXLSL1 = async (
     body: JSON.stringify(tabs),
   }).then((res) => res.blob());
 
-  return saveAs(data, `${name}.xlsx`);
+  return saveAs(data, `${name}.xls`);
 };
 
 export const downloadPointsXLSL2 = async (
@@ -74,7 +74,7 @@ export const downloadPointsXLSL2 = async (
     body: JSON.stringify(tabs),
   }).then((res) => res.blob());
 
-  return saveAs(data, `${name}.xlsx`);
+  return saveAs(data, `${name}.xls`);
 };
 
 export const downloadPointsXLSL = async (