fix bug about not redirrecting on login
This commit is contained in:
@@ -52,7 +52,6 @@ function trimswitcher() {
|
||||
localStorage.setItem("userinfos", JSON.stringify(json));
|
||||
console.log(json);
|
||||
}
|
||||
trimswitcher();
|
||||
function getBulkInfo() {
|
||||
return JSON.parse(localStorage.getItem("userinfos"));
|
||||
}
|
||||
@@ -384,3 +383,4 @@ if (switchurl) {
|
||||
}
|
||||
}
|
||||
export { checkInstance };
|
||||
trimswitcher();
|
||||
|
@@ -51,7 +51,7 @@ function trimswitcher(){
|
||||
localStorage.setItem("userinfos",JSON.stringify(json));
|
||||
console.log(json);
|
||||
}
|
||||
trimswitcher();
|
||||
|
||||
function getBulkInfo(){
|
||||
return JSON.parse(localStorage.getItem("userinfos"));
|
||||
}
|
||||
@@ -377,3 +377,4 @@ if(switchurl){
|
||||
}
|
||||
}
|
||||
export {checkInstance};
|
||||
trimswitcher();
|
||||
|
Reference in New Issue
Block a user