axios常規配置項

//常規配置項 axios.defaults.baseURL = 'https://127.0.0.1:9999'; //請求服務器具體的地址 axios.defaults.withCredentials =true; //在跨域中容許攜帶憑證 axios.defaults.header['Content-Type'] = 'application/x-www-form-urlencoded';
相關文章
相關標籤/搜索