var id =window.location.search.substring(window.location.search.indexOf('=')+1)
console.log(id);
截取网址链接里的id
最新推荐文章于 2021-12-21 10:11:56 发布
var id =window.location.search.substring(window.location.search.indexOf('=')+1)
console.log(id);