vue中axios封装http请求

import Vue from 'vue' import axios from 'axios' import qs from 'qs' //axios的一些公共配置和拦截器,好比发送请求显示loading,请求回来loading消失之类的 let loadTimeoutId; //请求拦截配置;配饰author;携带token axios.interceptors.request.
相关文章
相关标签/搜索