js-删除当前页面url后面的参数并返回
removeURLParameter(url, parameter) {var urlparts = url.split('?');if(urlparts.length >= 2) {//参数名前缀var prefix = encodeURIComponent(parameter) + '=';var pars = urlparts[1].split(/[&;]...