From 8af271dbd54e96d906dc849c3b61128fbf4e7018 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Fri, 3 Dec 2021 16:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BB=B7=E4=B8=80=E4=B8=8B=E6=B2=A1?= =?UTF-8?q?=E6=94=B9=E4=BB=80=E4=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/match/manage/index.vue | 3 ++- src/router/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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