Commit fb042d82afed201d0238722a33c8efa539f9979c

Authored by tanpenggood
1 parent 087c736a

修复-点击菜单未动态更改页面标题

ant-design-vue-jeecg/src/components/layouts/TabLayout.vue
... ... @@ -132,8 +132,9 @@
132 132 // 【TESTA-523】修复:不允许重复跳转路由异常
133 133 if (waitRouter.fullPath !== this.$route.fullPath) {
134 134 this.$router.push(Object.assign({}, waitRouter))
135   - this.changeTitle(waitRouter.meta.title)
136 135 }
  136 + // 动态更改document.title
  137 + this.changeTitle(waitRouter.meta.title)
137 138 },
138 139 'multipage': function(newVal) {
139 140 if(this.reloadFlag){
... ...