返回上一页并刷新:
<script> function back() { window.location.href=document.referrer; } </script>
返回上一页不刷新代码:
<script> function back() { window.history.back(-1); } </script>
时间: 2024-12-14 01:14:36
返回上一页并刷新:
<script> function back() { window.location.href=document.referrer; } </script>
返回上一页不刷新代码:
<script> function back() { window.history.back(-1); } </script>