摘要: <script> function ajaxPromise(options){ let { type='get', url, data = {}, dataType = 'json', cache = false // 不缓存 } = options; //data参数处理 let str = '' 阅读全文