在ts中axios返回not exist on type 'AxiosResponse' BG7ZAG | 2019-12-12 15:33 | 737 | 0 | 程序开发 66 字 | 1 分钟内 vue的axios请求返回值调取时报下面这错误 Property 'content' does not exist on type 'AxiosResponse<any>'.Vetur(2339) 解决方法是新增一个 axios.d.ts 文件,内容如下 import * as axios from 'axios' declare modul… axioststypescriptVue