解决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"); window.location.replace("./homepage.html");
}, 3000); }, 3000);
} else { } else {
let backUrl = window.history.length; window.location.replace("./index.html");
if (backUrl) { // let backUrl = window.history.length;
history.go(-backUrl + 1); // if (backUrl) {
} // history.go(-backUrl + 1);
// }
} }
} }
} }