文章分类 -  转载其他

摘要:1 // Promise 封装 ajax 2 function fetch(method, url, data){ 3 return new Promise((resolve, reject) => { 4 var xhr = new XMLHttpRequest(); 5 var method = 阅读全文
posted @ 2020-12-20 12:21 NightWalker