This commit is contained in:
tcubic 2022-08-08 19:37:43 +08:00
parent 13c6126f23
commit c4fdea54c5

View File

@ -292,7 +292,7 @@ const stopBack = () => {
// 退 // 退
const goBackEvent = () => { const goBackEvent = () => {
history.pushState({ page: 1 }, null, window.location.href); // history.pushState({ page: 1 }, null, window.location.href);
//popstate //popstate
window.addEventListener("popstate", (event) => { window.addEventListener("popstate", (event) => {
console.log("退出"); console.log("退出");