--固定html标题

This commit is contained in:
2026-01-23 10:10:52 +08:00
parent 7b03e5a710
commit 9ff6a88374
4 changed files with 8 additions and 7 deletions

View File

@ -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("广东能源集团天然气供应链平台");
</script>
<style lang="less" scoped>
:deep(.ant-tree-treenode),
@ -83,10 +85,9 @@
.vben-default-layout {
height: 100%;
}
.vben-layout-content {
flex: 1 !important;
background-color: #fff;
}
</style>