摘要: function ajaxFun(type,data,url,success){//type 请求类型 data 携带参数 url 请求地址 success 回调方法 var xhr = new XMLHttpRequest(); if(type == "get"){ if(data){ url+= 阅读全文
posted @ 2020-12-25 23:33 虹猫淘气 阅读(177) 评论(0) 推荐(0) 编辑