async function fetch2() { try { let res = await fetch(url, options) console.log(res) let data = await res.json() console.log(data) } catch (e) { console.log('error', e) } }
fetch
最新推荐文章于 2024-09-07 08:45:19 发布
async function fetch2() { try { let res = await fetch(url, options) console.log(res) let data = await res.json() console.log(data) } catch (e) { console.log('error', e) } }