我在我的项目中使用 Angular Universal,并使用 ng2-pdf-viewer 插件显示 pdf,但是Unhandled Promise rejection: window.requestAnimationFrame is not a function
当我已经在 server.js 中导入窗口和文档时,它给了我错误。
“谁能帮我解决这个问题”
我在我的项目中使用 Angular Universal,并使用 ng2-pdf-viewer 插件显示 pdf,但是Unhandled Promise rejection: window.requestAnimationFrame is not a function
当我已经在 server.js 中导入窗口和文档时,它给了我错误。
“谁能帮我解决这个问题”