diff --git a/index.html b/index.html index 37e52b5..885284a 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,8 @@
- + + diff --git a/src/router/index.ts b/src/router/index.ts index 18296c3..e1f8074 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -33,7 +33,7 @@ router.afterEach((to) => { if (detailTitle) { document.title = detailTitle + '-' + import.meta.env.VITE_APP_TITLE } else { - document.title = import.meta.env.VITE_APP_TITLE + document.title = import.meta.env.VITE_APP_TITLE + '-' + import.meta.env.VITE_APP_DESC } //设置meta