var id =window.location.search.substring(window.location.search.indexOf('=')+1)
console.log(id);
截取网址链接里的id
最新推荐文章于 2023-04-24 09:53:39 发布
var id =window.location.search.substring(window.location.search.indexOf('=')+1)
console.log(id);