From 933918db33d746b66c3fbf3ef236584eb5e2ccd9 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 18 Aug 2022 17:58:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/layouts/TabLayout.vue | 15 ++++++++------- jero-web/src/components/layouts/Tabcrumbs.vue | 4 ++++ .../components/modules/fillAdd.vue | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/jero-web/src/components/layouts/TabLayout.vue b/jero-web/src/components/layouts/TabLayout.vue index 33deedcc6..22eed786f 100644 --- a/jero-web/src/components/layouts/TabLayout.vue +++ b/jero-web/src/components/layouts/TabLayout.vue @@ -132,6 +132,7 @@ if (routeTitle) { currentRoute.meta.title = routeTitle } + console.log(currentRoute) // update-end-author:sunjianlei date:20191223 for: 修复刷新后菜单Tab名字显示异常 this.pageList.push(currentRoute) this.linkList.push(currentRoute.fullPath) @@ -212,13 +213,13 @@ // update-begin-author:sunjianlei date:20200120 for: 动态更改页面标题 changeTitle(title) { - let projectTitle = '蔚来全球法规平台' - // 首页特殊处理 - if (this.$route.path === indexKey) { - document.title = projectTitle - } else { - document.title = title + ' · ' + projectTitle - } + // let projectTitle = '蔚来全球法规平台' + // // 首页特殊处理 + // if (this.$route.path === indexKey) { + // document.title = projectTitle + // } else { + // document.title = title + ' · ' + projectTitle + // } }, // update-end-author:sunjianlei date:20200120 for: 动态更改页面标题 diff --git a/jero-web/src/components/layouts/Tabcrumbs.vue b/jero-web/src/components/layouts/Tabcrumbs.vue index 43e8276ac..0e780947d 100644 --- a/jero-web/src/components/layouts/Tabcrumbs.vue +++ b/jero-web/src/components/layouts/Tabcrumbs.vue @@ -41,12 +41,15 @@ this.$route.meta.title === ' Home Page') { this.Navigation = this.$route.meta.title this.subNavigation = null + let projectTitle = '蔚来全球法规平台' + document.title = projectTitle } else { this.updateMenu() } }, methods: { updateMenu() { + let projectTitle = '蔚来全球法规平台' const routes = this.$route.matched.concat() const { hidden } = this.$route.meta if (routes.length >= 3 && hidden) { @@ -61,6 +64,7 @@ }) this.Navigation = this.openKeys[1].meta.title this.subNavigation = this.$route.meta.title + document.title = this.subNavigation + ' · ' + projectTitle } } } diff --git a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue index aa509cd1f..a1fb27251 100644 --- a/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue +++ b/jero-web/src/views/businessSupport/regulationReport/components/modules/fillAdd.vue @@ -53,7 +53,6 @@ @change="changeTree" :getPopupContainer="triggerNode=> triggerNode.parentNode" class="box-input" - style="width: 100%" :tree-data="chapterContentsList" tree-checkable :placeholder="$t('PleaseSelect')+$t('chapterContents')" @@ -410,5 +409,6 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + word-break: break-word; } \ No newline at end of file