研发图纸文件管理系统-前端项目
iczer
2020-06-18 d4d46eeaae9fe29d7e2e7848e614a35c7f2e44c3
修复: 点击菜单栏时控制台报路由重复导航警告bug;
1个文件已修改
5 ■■■■■ 已修改文件
src/layouts/MenuView.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/MenuView.vue
@@ -64,8 +64,8 @@
        this.pageList.push(newRoute)
      }
    },
    'activePage': function (key) {
      this.$router.push(key)
    'activePage': function () {
      // this.$router.push(key)
    },
    'multiPage': function (newVal) {
      if (!newVal) {
@@ -76,6 +76,7 @@
  },
  methods: {
    changePage (key) {
      this.$router.push(key)
      this.activePage = key
    },
    editPage (key, action) {