This commit is contained in:
姚宇浩 2024-11-14 09:08:50 +08:00
parent c923174d85
commit 5a2b6e23d4
1 changed files with 0 additions and 5 deletions

View File

@ -137,8 +137,6 @@ const getCookie = (cname) => {
}; };
// //
const login = () => { const login = () => {
console.log(111111111);
let backurl = tools.data.get("backUrl"); let backurl = tools.data.get("backUrl");
dd.getAuthCode() dd.getAuthCode()
.then((res) => { .then((res) => {
@ -155,8 +153,6 @@ const login = () => {
tools.data.set("type", 1); tools.data.set("type", 1);
getMenu(); getMenu();
if (backurl) { if (backurl) {
console.log(222222);
window.location.href = backurl; window.location.href = backurl;
tools.data.remove("backUrl"); tools.data.remove("backUrl");
} }
@ -217,7 +213,6 @@ const login = () => {
window.addEventListener("mousemove", resetTimer); window.addEventListener("mousemove", resetTimer);
window.addEventListener("keydown", resetTimer); window.addEventListener("keydown", resetTimer);
if (backurl) { if (backurl) {
console.log(33333333333);
window.location.href = backurl; window.location.href = backurl;
tools.data.remove("backUrl"); tools.data.remove("backUrl");
} }