浏览器清空页面栈的方法
var backlen = history.length - 1;
history.go(-backlen); // Return at the beginning
history.replaceState({}, null, '../index.html');
在vue的页面中需要加一个定时器
setTimeout(function(){
var backlen = history.length - 1;
history.go(-backlen); // Return at the beginning
history.replaceState({}, null, '你重定向的页面路径');
},300)