一个请求在控制台输出就乱码,在Network中就不乱,怎么调能让他在控制台也不乱码
这是咋回事,一个请求在控制台输出就乱码,在Network中就不乱,怎么调能让他在控制台也不乱码
!(data/attachment/forum/202410/11/173726dnhtnsq6gtpy6t8n.png)!(data/attachment/forum/202410/11/173728t544gg57lzelmql0.png)!(data/attachment/forum/202410/11/173728p3joe4wtwmttttaz.png)
!(data/attachment/forum/202410/11/173758gxit5p16pa57bdxz.png) }).then(function(e){return e.arrayBuffer()}).then(function(e){console.log(new TextDecoder('gbk').decode(e))}).catch(error =>{
console.error("Error fetching text:",error);
}); 楼上方法应该是正确的
页:
[1]