this.instance = await WebOfficeSDK.init({
officeType: officeType, // 文件类型
appId: ""
fileId: fileId,
mount: ele,
mode: 'web',//normal
isPaginationMode:true
// token: "",
});
await this.instance.ready()
console.log("sssss")
const app = this.instance.Application
await app.ActiveDocument.SwitchTypoMode(false)