fix bug about not redirrecting on login
This commit is contained in:
parent
f3a9851f62
commit
34439f031b
2 changed files with 3 additions and 2 deletions
|
@ -52,7 +52,6 @@ function trimswitcher() {
|
||||||
localStorage.setItem("userinfos", JSON.stringify(json));
|
localStorage.setItem("userinfos", JSON.stringify(json));
|
||||||
console.log(json);
|
console.log(json);
|
||||||
}
|
}
|
||||||
trimswitcher();
|
|
||||||
function getBulkInfo() {
|
function getBulkInfo() {
|
||||||
return JSON.parse(localStorage.getItem("userinfos"));
|
return JSON.parse(localStorage.getItem("userinfos"));
|
||||||
}
|
}
|
||||||
|
@ -384,3 +383,4 @@ if (switchurl) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export { checkInstance };
|
export { checkInstance };
|
||||||
|
trimswitcher();
|
||||||
|
|
|
@ -51,7 +51,7 @@ function trimswitcher(){
|
||||||
localStorage.setItem("userinfos",JSON.stringify(json));
|
localStorage.setItem("userinfos",JSON.stringify(json));
|
||||||
console.log(json);
|
console.log(json);
|
||||||
}
|
}
|
||||||
trimswitcher();
|
|
||||||
function getBulkInfo(){
|
function getBulkInfo(){
|
||||||
return JSON.parse(localStorage.getItem("userinfos"));
|
return JSON.parse(localStorage.getItem("userinfos"));
|
||||||
}
|
}
|
||||||
|
@ -377,3 +377,4 @@ if(switchurl){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export {checkInstance};
|
export {checkInstance};
|
||||||
|
trimswitcher();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue