跨平台Axios服务封装,支持后端多种微服务对接答:importaxiosfrom"axios";importjsonpAjaxfrom"./jsonpAjax";import{Loading}from"element-ui";//axios函数封装constajax=async({url="",loading=false,//加载拦截baseURL="",data={},params={},//地址栏拼接数据,仅限于'put','post','patch'headers={"Content-Type":"application/json;charset=UTF-8"},...