摘要: class myAjax { // 封装 GET 请求 static get(url) { return new Promise((resolve, reject) => { const xhr = new XMLHttpRequest(); xhr.open("GET", url, true); 阅读全文
posted @ 2025-04-18 14:49 苏沐~ 阅读(42) 评论(0) 推荐(0)