Conflict of displayDialogAsync and html5-history-api
问题 I have an application by mean-stack that hosts a website and an Excel add-in. html5 is enabled, and it has <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script> <script src="https://cdn.rawgit.com/devote/HTML5-History-API/master/history.js"></script> In the Excel add-in, I have a button that opens a page in the website by Dialog API: $scope.openDialog = function () { Office.context.ui.displayDialogAsync("https://localhost:3000/preview/tmp/6wr-4PqdBrYQwjp3AAAD", {}