electron pdfjs 跨域问题

electron 设置webSecurity = false 禁用同源策略  修改viewer.js 文件 修改内容就是下图注释的代码

 

posted @ 2021-06-30 11:37  荣超  阅读(238)  评论(0编辑  收藏  举报