J 最终核查收尾:补兼容项弱化标识并清理 resource 死代码

基于 J 验收视角的最终核查,处理两项已登记残差:

- App.vue:菜单渲染现在消费 secondaryEntry 元数据,对已降权/后移的兼容项追加“· 次级”
  标签,补上文档中提到但未落地的就地视觉弱化。
- aksrt-resource.php:删除 aksrt_default_resource_meta() 中首个 return 之后的不可达旧实现,
  消除 J 验收文档中登记的代码卫生残差之一。

验证:
- php -l 通过:inc/helpers/aksrt-resource.php
- App.vue 变更已做结构性 sanity check,确保 secondaryEntry 标签逻辑存在

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-07 19:10:31 +08:00
co-authored by Claude Fable 5
parent a17fb7a119
commit c7f8d15fb8
2 changed files with 1 additions and 19 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ const menuOptions = ADMIN_SECTIONS.filter((section) => !section.hidden).map((sec
key: section.key,
icon: section.icon,
children: section.children.map((child) => ({
label: child.label,
label: child.secondaryEntry ? `${child.label} · 次级` : child.label,
key: child.key,
})),
}