2022年4月11日
摘要: var xhr = new XMLHttpRequest();//实例化HTTP请求对象 // xhr.open('请求类型','文件在服务器中的位置',同步(false)异步(true)) //post方式要传参时,需要加请求头 //xhr.setRequestHeader('content-ty 阅读全文
posted @ 2022-04-11 07:38 TANTT 阅读(42) 评论(0) 推荐(0)