zoukankan      html  css  js  c++  java
  • 混合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则返回正常,具体原因还没有找到

  • 相关阅读:
    6-1
    4-9
    4-5
    4-4
    4-3
    3-10
    作业三2
    作业三1
    课堂练习二
    实验三
  • 原文地址:https://www.cnblogs.com/yixiancheng/p/15684546.html
Copyright © 2011-2022 走看看