Skip to content

Commit

Permalink
跳过#开头的表
Browse files Browse the repository at this point in the history
  • Loading branch information
DoooReyn committed Dec 6, 2024
1 parent c98125e commit 934b6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions XLSXDumper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export function XLSXDumper(filePath: string) {
* @param sheet 表格信息
*/
function parseSheet(sheet: { name: string; data: any[] }) {
if (sheet.name.startsWith("#")) return;
let data: Record<number | string, any> = {};
let valid = false;
let table = sheet.name.split("#")[0];
Expand Down

0 comments on commit 934b6df

Please sign in to comment.