解决C端立减金详情暂停跳转其他链接

This commit is contained in:
Apple 2022-06-15 14:50:33 +08:00
parent 037d2c5b24
commit ac6d8b3fc8
1 changed files with 5 additions and 4 deletions

View File

@ -175,10 +175,11 @@
window.location.replace("./homepage.html");
}, 3000);
} else {
let backUrl = window.history.length;
if (backUrl) {
history.go(-backUrl + 1);
}
window.location.replace("./index.html");
// let backUrl = window.history.length;
// if (backUrl) {
// history.go(-backUrl + 1);
// }
}
}
}