如果你只希望这一个接口需要修改的话 直接 const response = await axio.get({ responseType: 'arraybuffer', url, method: 'POST' }).then((respones) => ({ respones: { data: { data: respones.data } } })); console.log(response.data); // 正常情况这里是返回buffer console.log(response.data.data); // 现在期望这里能返回buffer 你需要所有 post responseType: 'arraybuffer', 那就重写 post 方法 给你一个思路。 const tempAxiosGet = axios.get; axios.get = function >(url: string, config?: AxiosRequestConfig): Promise { return tempAxiosGet(url, config) .then((respones) => ({ respones: { data: { data: respones.data } } })) .catch((error) => error) } 利用 promise 的 then函数可以解决