vue axios 封装

import axios from "axios"; let cancel ,promiseArr = {}; const CancelToken = axios.CancelToken; axios.interceptors.request.use(config => { //发起请求时,取消掉当前正在进行的相同请求 if (p...