摘要:
基于promise的ajax封装 1 //调用方式: 2 /* 3 ajaxPrmomise({ 4 url:, 5 method:, 6 headers:{} 7 }).then(res=>{}) 8 */ 9 10 ;(function(window){ 11 //设置默认的参数配置项 12 l 阅读全文
posted @ 2019-06-14 19:28
会飞的猪~~
阅读(900)
评论(0)
推荐(0)