页面A->B ,B->C ,C->A首页后 let backlen=history.length-1; history.go(-backlen); https://www.jianshu.com/p/9084160d81f9