用fetch替代传统的ajax

    fetch('http://t1176.kakaapp.com/api.php/setting/icon/index')
    .then(res=> res.json())
    .then(data=>{
      console.log(data)
    })


 地址失效就替换这个试下 https://t2.youmitu.com

 

posted @ 2020-04-10 11:11  Model-Zachary  阅读(107)  评论(0编辑  收藏  举报