摘要: `var url = 'http://127.0.0.1'; var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); // 也可以使用POST方式,根据接口 xhr.responseType = "blob"; // 返回类型blob 阅读全文
posted @ 2023-09-06 14:51 love_x 阅读(247) 评论(0) 推荐(0) 编辑