diff --git a/src/pages/match/manage/index.vue b/src/pages/match/manage/index.vue index 88e41d4..882eaa4 100644 --- a/src/pages/match/manage/index.vue +++ b/src/pages/match/manage/index.vue @@ -50,7 +50,8 @@ export default { }); }, beforeDestroy() { - // EventBus.$off() + // 关闭所以EventBus事件 + EventBus.$off() }, methods: { goBack() { diff --git a/src/router/index.js b/src/router/index.js index 9f78cfe..a8129e7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -267,7 +267,8 @@ router.beforeEach(function(to, from, next) { } } // 根据路由元信息设置文档标题 - window.document.title = to.meta.title ? to.meta.title : ""; + // window.document.title = to.meta.title ? to.meta.title : ""; + window.document.title = "职站教师端" next(); }); \ No newline at end of file