地址栏多个问号?场景获取参数
// 根据问号位置获取参数
(function($){
$.getUrlParam = function(name)
{
let strings = window.location.search.split('?');
const searchParams = new URLSearchParams(strings[strings.length - 1]);
return searchParams.get(name);
}
})(jQuery);