问答详情
源自:3-2 电子书解析和渲染

this.rendition.display() 执行时出现跨域问题,如何解决?

this.rendition.display() 执行时出现跨域问题,如何解决?

Access to font at 'res:///opt/sony/ebook/FONT/zw.ttf' from origin 'http://localhost:8080' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.


提问者:慕课小哥 2021-05-11 21:12

个回答