axios请求response为对象或者文件流的处理方式
12345678910111213141516171819202122232425262728const res = await Axios.get(url, { params, responseType: "blob",});// 如果response为json串if (res.data.type === "application/json&qu...
12345678910111213141516171819202122232425262728const res = await Axios.get(url, { params, responseType: "blob",});// 如果response为json串if (res.data.type === "application/json&qu...