摘要: 通过XMLHttpRequest发送GET请求 // 创建XMLHttpRequest实例对象 const xhr = new XMLHttpRequest(); // 监听通信状态 xhr.onreadystatechange = function(){ // 请求结束,处理服务器返回的数据 if 阅读全文
posted @ 2024-04-25 17:46 箫笛 阅读(231) 评论(0) 推荐(0) 编辑