vue的axios请求返回值调取时报下面这错误:
Property ‘rows’ does not exist on type ‘AxiosResponse<any, any>’.
解决方法是新增一个 axios.d.ts 文件,内容如下
import * as axios from 'axios'
declare module 'axios' {
interface AxiosInstance {
(config: Axio
vue的axios请求返回值调取时报下面这错误:
Property ‘rows’ does not exist on type ‘AxiosResponse<any, any>’.
解决方法是新增一个 axios.d.ts 文件,内容如下
import * as axios from 'axios'
declare module 'axios' {
interface AxiosInstance {
(config: Axio