fetch("url", {
method: "GET"
})
.then(function (response) {
return response.json()
})
.then(function (data) {
// 这里的data就是获取到的数据
})
fetch获取链接数据
于 2023-09-01 17:15:58 首次发布
fetch("url", {
method: "GET"
})
.then(function (response) {
return response.json()
})
.then(function (data) {
// 这里的data就是获取到的数据
})