使用 xhr 指定响应是有效的:
var oReq = new XMLHttpRequest();
oReq.open("GET", "https://www.example.com", true);
oReq.responseType = "arraybuffer";
fetch 貌似就无效
fetch('https://www.example.com',{
method: 'get',
responseType: 'arraybuffer'
}).then(function (response) {
}