Commit 06182eb1 authored by 张博's avatar 张博

fix(png): 🐛 change export png\'s crossOrigin

parent 89c16d02
...@@ -20,8 +20,8 @@ define(function(require, exports, module) { ...@@ -20,8 +20,8 @@ define(function(require, exports, module) {
image.onerror = function(err) { image.onerror = function(err) {
reject(err); reject(err);
}; };
//image.setAttribute('crossOrigin', 'anonymous');
image.crossOrigin = ''; image.crossOrigin = 'anonymous';
image.src = info.url; image.src = info.url;
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment