我必须将responseType添加到HTTP get request中:
$http({ method: 'GET', url: '.../download', responseType: 'arraybuffer' }) .success(function(data, status){ console.log(data); var blob = new Blob([data], {type: 'image/jpg'}); saveAs(blob, 'test.jpg'); }) .error(function(data, status){ .... })现在正在工作。



