diff --git a/src/App.vue b/src/App.vue index 3246e33a242b764903977bc599fe145ffbe254a1..e1674d35bbdb08a9af56dafc8a6b1e8b980086db 100644 --- a/src/App.vue +++ b/src/App.vue @@ -66,9 +66,7 @@ export default { }, setHtmlTitle() { const route = this.$route; - const key = - route.path === '/' ? 'home.name' : getI18nKey(route.matched[route.matched.length - 1].path); - document.title = process.env.VUE_APP_NAME + ' | ' + this.$t(key); + if (route.name) window.title = route.name; }, popContainer() { return document.getElementById('popContainer'); diff --git a/src/components/menu/SideMenu.vue b/src/components/menu/SideMenu.vue index c76ef01ab88f0b249dc17512db9bc86ab8c4fb19..ba3ea7322f406bb5772564e387802017c54a6241 100644 --- a/src/components/menu/SideMenu.vue +++ b/src/components/menu/SideMenu.vue @@ -1,9 +1,16 @@