ZSWYD

2022年11月22日

小程序axios简单封装,以及请求,设置请求头, 跳转

摘要: import cookieUtil from './cookie'; const getResponse = function (url, data = {}, opt = {}) { opt.url = (/^http/i).test(url) ? url : `${config.api || ' 阅读全文

posted @ 2022-11-22 13:37 苏舒 阅读(923) 评论(0) 推荐(0)

导航