摘要: ``` function ajax(url) { const p = new Promise((resolve, reject) => { const xhr = new XMLHttpRequest(); xhr.open('GET', url, true) xhr.onreadystatecha 阅读全文
posted @ 2023-02-06 11:37 leechg 阅读(37) 评论(0) 推荐(0) 编辑