fix:登陆死循环
This commit is contained in:
@@ -102,9 +102,11 @@ function Base64() {
|
||||
}
|
||||
}
|
||||
function getParam(name){
|
||||
return getParam(name,window.location.href)
|
||||
let url=window.location.href;
|
||||
return getParamToUrl(name,url)
|
||||
}
|
||||
function getParam(name,url){
|
||||
function getParamToUrl(name,url){
|
||||
console.log(url)
|
||||
let results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(url);
|
||||
if (results == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user