fix: 🧩 修复bug

This commit is contained in:
2025-10-17 16:59:21 +08:00
parent c913152460
commit eea0925899
10 changed files with 4 additions and 14 deletions

View File

@@ -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;