asiox 請求中的delete請求傳參問題 VUE—axios自定義請求配置、transformRequest在向服務器發送前,修改請求數據

asiox 請求中的delete請求傳參問題 asiox一共請求方式有get.post,put,put,delete get.post,put,put有三個參數,url,data和config,所以在使用時,可以寫成axios.method (‘url’,data,config),但是delete只有兩個參數:url和config,data在config中,所以需要寫成 axios.delete(
相關文章
相關標籤/搜索