Commit fb042d82afed201d0238722a33c8efa539f9979c
1 parent
087c736a
修复-点击菜单未动态更改页面标题
Showing
1 changed file
with
2 additions
and
1 deletions
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){ |
... | ... |