我正在使用"posName"参数跟踪网址,例如:example.com?posName=Content+&+Community+Manager+(H/F)但是我的代码只返回"Content":function(){varuri=document.location.href;varuri_dec=decodeURIComponent(uri);varurl=newURL(uri_dec);varposName=url.searchParams.get("posName");returnposName;}如何获取完整的参数?编辑:我有另一个URL,如:exemple.com?posName