Adobe PDF Embed似乎总是重新加载 pdf,而不是仅仅导航到正确的页面(就像更改 iframe 中的页码一样)。有没有解决的办法?
正在使用的代码:previewFilePromise.then(adobeViewer => {
adobeViewer.getAPIs().then(apis => {
apis.gotoLocation(n)
.then(() => console.log("Success"))
.catch(error => console.log(error));
});
});