[]load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破?

Gzdaze.dialogList = [
STATIC_IMG_PATH+'img_dialog-1.png',
STATIC_IMG_PATH+'img_dialog-2.png',
STATIC_IMG_PATH+'img_dialog-3.png',
STATIC_IMG_PATH+'img_dialog-4.png',
STATIC_IMG_PATH+'progressBar.png',
STATIC_IMG_PATH+'progressBar$bar.png'
];
this.isFirst = true;
console.log('Gzdaze=');
console.log(Gzdaze);
Laya.loader.load(Gzdaze.dialogList, Handler.create(this, this.startLoaded));
代码是这样的
报错

Access to Image at 'http://caifu-1251177394.file.myqcloud.com/beta/book/bookLaya/img/progressBar$bar.png' from origin 'http://bookportal.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bookportal.com' is therefore not allowed access.
已邀请:

要回复问题请先

商务合作
商务合作