Merge commit '31aa0e078a36828b399e40b53228251d90f615e7' into iipbs/wr/dev
This commit is contained in:
@@ -32,10 +32,11 @@ export const filePicked=(oFile: File, headerNum:number=0) =>{
|
||||
const sheet = wb.Sheets[sheetName];
|
||||
if (sheet) {
|
||||
const jsonXls = XLSX.utils.sheet_to_json(sheet, {range:headerNum});
|
||||
console.log(jsonXls);
|
||||
return jsonXls;
|
||||
} else {
|
||||
console.error(`Sheet "${sheetName}" is undefined.`);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user