摘要: js发ajax请求的几种方式 - xhr(原生js自带): new XMLHttpRequest() xhr.open() xhr.send() - jQuery: $.get() $.post - axios(推荐) - fetch(windows对象自带): 有致命缺陷... 安装 axios 阅读全文
posted @ 2023-03-08 13:57 清安宁 阅读(255) 评论(0) 推荐(0)