摘要: 获取url参数,键值对形式返回。 const getParams = () => { let params = window.location.search; let obj = {}; if (params.indexOf('?') != -1) { let str = params.substr 阅读全文
posted @ 2019-05-22 09:21 eightabs 阅读(147) 评论(0) 推荐(0) 编辑