摘要: promise + fetch + AbortController + setTimeOut 这是一段正常的fetch请求 fetch('www.baidu.com',{}) .then(res=>res.json()) .then(console.log(res) // 打印返回结果 .catch 阅读全文
posted @ 2023-09-14 16:51 WaterRec 阅读(285) 评论(0) 推荐(0) 编辑