yuetsh
a03e22e60f
chore(前端): 删掉三个从 ojnext 搬来就没人用的文件
阶段 1 是「原样搬入、不改业务代码」,所以 ojnext 里已经死掉的东西也一起
搬了过来。这三个文件全仓零引用:
- utils/permissions.ts(usePermissions / checkRoutePermission)
- oj/ai/components/StreakStats.vue
- shared/components/IconButton.vue
确认方式:在 apps/web 全部 .ts / .vue / .json / .html / .js 里搜这五个名字
(排除文件自身)零命中;两个组件也不在自动生成的 components.d.ts 里,
permissions.ts 的两个导出同样不在 auto-imports.d.ts 里 —— 也就是说
它们连自动导入的注册都没拿到,不存在「模板里隐式用到」的可能。
permissions.ts 在 ojnext 里也是死的,不是搬运过程产生的。
vue-tsc 0 error,vite build 通过。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-25 17:37:58 -06:00
..
2026-08-25 13:44:24 -06:00
2026-08-25 17:37:58 -06:00
2026-08-25 13:44:24 -06:00
2026-08-25 13:44:24 -06:00
2026-08-06 21:18:16 -06:00
2026-08-25 13:44:24 -06:00
2026-08-06 21:18:16 -06:00
2026-08-25 14:04:10 -06:00
2026-08-25 14:04:10 -06:00
2026-08-25 14:03:51 -06:00
2026-08-25 14:03:51 -06:00
2026-08-25 14:04:10 -06:00
2026-08-25 13:44:24 -06:00
2026-08-25 14:04:10 -06:00
2026-08-25 14:04:10 -06:00
2026-08-25 13:44:24 -06:00