搞定,下面的核心代码 this._wps = WebOfficeSDK.config({ url : wpsUrl.toString(), mount : this.getElementByXid("wpsDiv"), }); const wps =this._model._wps; await wps.ready(); const app = wps.Application; await app.ActivePDF.RotatePage();