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