Commit 3738f521 authored by zhangbobell's avatar zhangbobell

fix(png): add query to disable cache on ajax cors

parent 559c767e
......@@ -35,7 +35,7 @@ define(function(require, exports, module) {
return Promise(function (resolve, reject) {
var xmlHttp = new XMLHttpRequest();
xmlHttp.open('GET', info.url, true);
xmlHttp.open('GET', info.url + '?_=' + Date.now(), true);
xmlHttp.responseType = 'blob';
xmlHttp.onreadystatechange = function () {
if (xmlHttp.readyState === 4 && xmlHttp.status === 200) {
......
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