前端框架修改

This commit is contained in:
chengkai3
2026-04-26 00:14:25 +08:00
parent 3fd15fbd21
commit db81bf41fc
90 changed files with 2589606 additions and 4148 deletions
+1223
View File
File diff suppressed because it is too large Load Diff
+18
View File
@@ -0,0 +1,18 @@
## Work Log - 去除后台左侧菜单标题与底部角色状态文案(2026-04-26)
- 背景:
- 用户要求去掉左侧导航中的“系统菜单”文案,以及底部“当前角色:admin”“账号状态:active”两行。
- 本次改动(最小闭环):
- `web/src/app/admin/layout.tsx`
- 删除桌面端侧栏顶部文案“系统菜单”。
- 删除桌面端侧栏底部角色/状态信息块。
- 移动端左侧抽屉标题改为 `null`,不再显示“系统菜单”。
- 菜单开关按钮 `aria-label` 同步调整为“打开菜单/展开菜单/收起菜单”。
- 验证:
- `rg -n "系统菜单|当前角色:|账号状态:" web/src/app/admin/layout.tsx -S` -> 无匹配。
- `npm --workspace web exec tsc --noEmit --pretty false` -> 通过。
- 风险与影响:
- 仅影响后台左侧导航展示文案,不涉及菜单权限、路由与接口逻辑。