实操可以
<a href="javascript:history.go(-1)"><button class="btn btn-primary" type="button">返回</button></a>
没有实操过
<button οnclick="window.location.href=document.referrer;" class="btn btn-primary">返回上页</button>
实操可以
<a href="javascript:history.go(-1)"><button class="btn btn-primary" type="button">返回</button></a>
没有实操过
<button οnclick="window.location.href=document.referrer;" class="btn btn-primary">返回上页</button>