fix(erp-frontend-vue): resolve TypeScript build errors (duplicate ids, unused vars, null guards, type mismatches)
Made-with: Cursor
This commit is contained in:
@@ -10,7 +10,7 @@ const whiteList = ['/login', '/register']
|
||||
const DEV_SKIP_AUTH = import.meta.env.DEV && !import.meta.env.VITE_REQUIRE_AUTH
|
||||
|
||||
// 路由守卫
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
router.beforeEach(async (to, _from, next) => {
|
||||
// 设置页面标题
|
||||
document.title = to.meta.title ? `${to.meta.title} - ERP系统` : 'ERP系统'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user