fetch

79 阅读1分钟
fetch('url').then(res=>{
  res.json().then(data => {
   console.log(data)
  })
 })