Skip to content

fetch 请求本地文本数据,本地json数据,网络接口

Notifications You must be signed in to change notification settings

GWJacqueline/fetch-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

使用 fetch 方法 分别请求本地文本数据,本地 json 数据和网络接口

有关 Promise 和 fetch 方法,请查看本人博文

具体代码请看 fetchDemo.html

分别使用 async/await 和 fetch 封装一个增删改查数据的库

有关 async/await 方法,请查看本人博文

具体代码请看 asyncDemo.html

About

fetch 请求本地文本数据,本地json数据,网络接口

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published