混合app开发$router.back无效的问题

this.$router.back()
try {
  setTimeout(() => {
  let path = window.location.hash.slice(1);
  this.$router.replace(path)
}, 1);
  return false
}catch (e) {}

 路由模式设置为hash模式就会出现router.back无效,设置为history则返回正常,具体原因还没有找到

原文地址:https://www.cnblogs.com/yixiancheng/p/15684546.html