From 40827b528ec4aae33e236f3d7972e5d5e1eaec0a Mon Sep 17 00:00:00 2001 From: hacker233 Date: Fri, 27 Dec 2024 20:41:32 +0800 Subject: [PATCH] =?UTF-8?q?ui(person):=20=E4=BC=98=E5=8C=96=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 2 +- .../designer/components/GlobalThemeSettingBar.vue | 8 +++++++- src/views/person/components/RightContent.vue | 8 ++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 75b817bb..590e6e59 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -539,7 +539,7 @@ const routes: Array = [ keepAlive: true, isShowComNav: true, requireLogin: true, - showTitle: true + showTitle: false }, component: MyResume }, diff --git a/src/views/createTemplate/designer/components/GlobalThemeSettingBar.vue b/src/views/createTemplate/designer/components/GlobalThemeSettingBar.vue index 3d18ca19..2d3a9016 100644 --- a/src/views/createTemplate/designer/components/GlobalThemeSettingBar.vue +++ b/src/views/createTemplate/designer/components/GlobalThemeSettingBar.vue @@ -54,7 +54,7 @@ -
+
diff --git a/src/views/person/components/RightContent.vue b/src/views/person/components/RightContent.vue index 4e509754..514ed510 100644 --- a/src/views/person/components/RightContent.vue +++ b/src/views/person/components/RightContent.vue @@ -2,10 +2,7 @@
@@ -16,6 +13,9 @@ import ContentTitleVue from './ContentTitle.vue'; const route = useRoute(); + const showTitle = computed(() => { + return route.meta.showTitle; + });