1 2 3 4
摘要: 1.fetch是浏览器自带的,不需要安装或引用,可直接使用 fetch('/api/products') .then(response=>response.json()) .then(result=>{ ....//处理数据 }) 阅读全文
posted @ 2020-06-01 16:37 红鲤鱼与LV 阅读(179) 评论(0) 推荐(0) 编辑