尝试在Outlook 2016 for Windows中打开Outlook加载项时出现错误。
Error: Office.js has not been fully loaded yet. Please try again later or make sure to add your initialzation code on the Office.initisalize function
我已按照gist https://github.com/OfficeDev/office-js-docs/blob/master/docs/develop/add-ins-with-angular2.md中列出的建议无效。
我尝试在浏览器和Outlook 2016 for Mac中使用的main.ts
初始化Office:
Office.initialize = reason => {
launch();
};
function launch() {
if (environment.production) {
enableProdMode();
}
const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);
}
有什么想法吗?