随笔分类 -  学习axios笔记

自学axios笔记
为什么监听能放在请求的后面及异步同步理解
摘要://1.执行异步ajax请求 //创建xhr对象 const request = new XMLHttpRequest() //打开连接(初始化请求,没有请求) request.open(method, url, true) //发送请求 if (method 'GET') { request.se 阅读全文

posted @ 2021-11-04 23:14 LuDuo 阅读(124) 评论(0) 推荐(0)

axios
摘要:axios 的理解和使用 前端最流行的 ajax 请求库 react/vue 官方都推荐使用 axios 发 ajax 请求 文档:http://https://github.com/axios/axios 阅读全文

posted @ 2021-10-30 16:43 LuDuo 阅读(61) 评论(0) 推荐(0)