chrome在跨域的情况下不支持download属性，于是用xhr做了个work around