js 获取当前地址的查询参数列表
eg.https://go.gliffy.com/go/html5/launch?_ga=2.201967958.654328489.1658124867-1818406430.1658124867
console.log(location.search)结果:
?_ga=2.201967958.654328489.1658124867-1818406430.1658124867
eg.https://go.gliffy.com/go/html5/launch?_ga=2.201967958.654328489.1658124867-1818406430.1658124867
console.log(location.search)结果:
?_ga=2.201967958.654328489.1658124867-1818406430.1658124867