随笔分类 -  函数

摘要:封装XMLHttpRequest对象拦截方法 function proxyRequest() { const _xhr = window.XMLHttpRequest; const proxies = []; const events = {}; const cache = { _this: nul 阅读全文
posted @ 2022-06-14 22:25 灰色的修饰 阅读(1000) 评论(0) 推荐(1) 编辑
摘要:function getURLParam() { const url = location.search; const param: any = {}; if (url.indexOf('?') != -1) { const str = url.substr(1); const strs = str 阅读全文
posted @ 2020-12-31 15:19 灰色的修饰 阅读(121) 评论(0) 推荐(0) 编辑

主题色彩
点击右上角即可分享
微信分享提示