title修改

This commit is contained in:
沈鸿 2025-05-29 10:31:29 +08:00
parent 57b8751bc2
commit 6dcf4a846e
3 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.png" /> <link rel="icon" type="image/svg+xml" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>政务服务</title> <title>产业政务平台</title>
</head> </head>
<body> <body>

View File

@ -19,7 +19,7 @@ const whiteList = [];
router.beforeEach(async (to, from, next) => { router.beforeEach(async (to, from, next) => {
NProgress.start(); NProgress.start();
if (typeof to.meta.title === 'string') { if (typeof to.meta.title === 'string') {
document.title = '政务服务 | ' + to.meta.title; document.title = '产业政务平台 | ' + to.meta.title;
} }
const userStore = useUserStore(); const userStore = useUserStore();