{// `data` 由服务器提供的响应
data:{},// `status` 来自服务器响应的 HTTP 状态码
status:200,// `statusText` 来自服务器响应的 HTTP 状态信息
statusText:'OK',// `headers` 服务器响应的头
headers:{},// `config` 是为请求提供的配置信息
config:{},// 'request'// `request` is the request that generated this response// It is the last ClientRequest instance in node.js (in redirects)// and an XMLHttpRequest instance the browser
request:{}}
axiosgithub 开发者平台https://developer.github.com/axios安装&导入npm i axiosimport axios from "axios"基本五种请求get请求axios(config)axios(url,config)axios.get(url,config)post请求axios(config)axios(url,config)axios.post(url,data,config)put请求axios(conf