且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用javascript从URL获取路径和查询字符串

更新时间:2023-02-23 08:36:21

使用 location.pathname location.search

(location.pathname+location.search).substr(1)