javascript:history.back(-1);
JavaScript返回上一页代码区别:
window.history.back();location.reload();
<code class="language-javascript"><input type="button"name="back" value="返回"onClick="javascript:history.back()"></code>
来自 https://blog.csdn.net/dxb601/article/details/72675149