From 9ff6a883743502f3b59f7a3f9fba4b807d3c6845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A6=8F=E8=B4=A2?= <1471584931@qq.com> Date: Fri, 23 Jan 2026 10:10:52 +0800 Subject: [PATCH] =?UTF-8?q?--=E5=9B=BA=E5=AE=9Ahtml=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- src/App.vue | 9 +++++---- src/views/dashboard/analysis/index.vue | 2 +- src/views/form/template/index.vue | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 376de98..bc0bb64 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - + 广东能源集团天然气供应链平台 diff --git a/src/App.vue b/src/App.vue index eb9cacc..237bd77 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,7 +12,8 @@ import zhTW from 'ant-design-vue/lib/locale-provider/zh_TW'; import { ConfigProvider } from 'ant-design-vue'; import { AppProvider } from '/@/components/Application'; - import { useTitle } from '/@/hooks/web/useTitle'; + //import { useTitle } from '/@/hooks/web/useTitle'; + import { useTitle } from '@vueuse/core'; import { useLocale } from '/@/locales/useLocale'; import { useAppStore } from '/@/store/modules/app'; import 'dayjs/locale/zh-cn'; @@ -64,7 +65,8 @@ }); // Listening to page changes and dynamically changing site titles - useTitle(); + //useTitle(); + useTitle("广东能源集团天然气供应链平台"); diff --git a/src/views/dashboard/analysis/index.vue b/src/views/dashboard/analysis/index.vue index 930fcd7..8f30de8 100644 --- a/src/views/dashboard/analysis/index.vue +++ b/src/views/dashboard/analysis/index.vue @@ -58,7 +58,7 @@ //设置Tab标题 setTitle(desktopSchema.name); //设置浏览器标题 - useTitle(` ${desktopSchema.name} - ${title} `); + //useTitle(` ${desktopSchema.name} - ${title} `); desktop.hasCustomDesktop = true; } } diff --git a/src/views/form/template/index.vue b/src/views/form/template/index.vue index 339dd65..cf278ee 100644 --- a/src/views/form/template/index.vue +++ b/src/views/form/template/index.vue @@ -703,7 +703,7 @@ //设置Tab标题 setTitle(configJson.menuConfig.name); //设置浏览器标题 - useTitle(` ${configJson.menuConfig.name} - ${title} `); + // useTitle(` ${configJson.menuConfig.name} - ${title} `); //设置是否需要左侧菜单 listConfig.value = configJson.listConfig!; listTitle.value = listConfig.value.listTitle || configJson.menuConfig.name;