fetch


fetch("/")
  .then(response => response.json())
  .then(json => {
    this.restaurants = json;
    console.log(this.restaurants.length)
  })

 

 
posted @ 2019-03-29 22:09  芋头猪爸爸  阅读(229)  评论(0编辑  收藏  举报
我的主页