fix: 导入数据不正确的bug

This commit is contained in:
leijun 2023-09-06 14:55:45 +08:00
parent f166222309
commit 9921566ec1

View file

@ -102,7 +102,7 @@ export class ExcelView extends TextFileView {
const sheetData = stox(wb);
if (sheetData) {
this.sheet.loadData(sheetData);
this.data = JSON.stringify(sheetData);
this.saveData(JSON.stringify(sheetData));
} else {
new Notice("Data parsing error");
}