1.0.12 • Published 2 years ago
class_http_serve v1.0.12
axios 封装类
使用
导入
import HttpRequest from "class_http_serve"
new 一个实例
const http = new HttpRequest()
调用方法
http.request
配置参数
showLoading: true 请求时是否需要loading
loadingConfig {} PC项目使用的loading配置 具体参数
import HttpRequest from "class_http_serve"
const http = new HttpRequest()
http.request
showLoading: true 请求时是否需要loading
loadingConfig {} PC项目使用的loading配置 具体参数