fix: 🧩 修复bug
This commit is contained in:
@@ -39,7 +39,6 @@ router.beforeEach(async (to, from, next) => {
|
||||
// 1.NProgress 开始
|
||||
NProgress.start();
|
||||
const currentPath = window.location.pathname;
|
||||
console.log(currentPath, "=currentPath=");
|
||||
// 2.动态设置标题
|
||||
const title = import.meta.env.VITE_GLOB_APP_TITLE;
|
||||
document.title = to.meta.title ? `${to.meta.title} - ${title}` : title;
|
||||
|
||||
Reference in New Issue
Block a user