docs: align shared-module comments with actual edge cases

This commit is contained in:
cieanyau committed 2026-11-06 00:45:49 +08:00
1 parent 3af9eddd3f
commit deb7c3b3cd
14 files changed
+20 -19

No files matched your search

+2 -2
View File
@@ -41,7 +41,7 @@ function e(e) {
}
return r(e);
}
/** 路径长度和匹配 query 数量决定激活优先级,避免父菜单与更具体子菜单同时高亮。 */
/** 路径长度和匹配 query 数量决定激活优先级,在传入候选项中优先匹配更具体的菜单。 */
function t(e, t, n = []) {
let r =
t.path === `/products/cvm`
@@ -278,7 +278,7 @@ function d(e) {
}
}
/**
* 规范化后端菜单树:最多三层、每层最多 100 项,文本最多 100 字。
* 规范化后端菜单树:深度最多三层,每组同级菜单最多 100 项,标签截取前 100 个字符。
* 无法适配的菜单保留禁用原因而非猜测跳转;二次提醒 second_reminder 作为确认标记保留。
*/
function f(e, t = ``, a = 0) {