- const workBook = this.designer?.getWorkbook() as GC.Spread.Sheets.Workbook;
- const tabCount = workBook.getSheetTabCount()
- for (let i = 0; i < tabCount; i++) {
- workBook.getSheetTab(i).renderMode('Preview')
- }
- singleInst.master.spread_state = workBook.toJSON();
- singleInst.setEditing();
- }
复制代码 尝试了一下,有报错:
|