[]发布之后报错,跨域问题

mac 下chrome运行发布内容出错,编译没有任何问题

laya.core.js:12245 Failed to load file:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/res/atlas/comp.atlas: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

Access to Image at 'file:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/comp/classic_numbers_8.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access.
已邀请:

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作