05 2021 档案
js获取url后面的参数
摘要:let url = window.location.href;//http://localhost:3000/edu/edu_teacher?type=2&a=3 if(url.indexOf('?') != -1){ let obj = {}; let arr = url.slice(url.in 阅读全文
posted @ 2021-05-21 10:03 月零Ray 阅读(1447) 评论(0) 推荐(0)