fix: 修复执行: check:cspell 命令路径参数传入没有转义导致检测路径失效。添加菜单右键功能。优化:多余监听 activePath 变化,自动滚动到激活项 watch

This commit is contained in:
lmx
2026-03-04 18:25:15 +08:00
parent 2a86404ba5
commit 173e6b08c9
9 changed files with 77 additions and 44 deletions

View File

@@ -43,6 +43,7 @@ function generateMenus(
link,
order,
title = '',
query,
} = meta;
// 确保菜单名称不为空
@@ -71,6 +72,7 @@ function generateMenus(
badgeVariants,
icon,
name,
query,
order,
parent: route.parent,
parents: route.parents,