Commit Graph
15 Commits
Author SHA1 Message Date
xuyueandClaude Opus 5 07bbbce013 feat(user): store 层加入演示模式伪装开关
超管开启后所有角色 getter 降级为普通学生,全站权限判断自动跟随。
realIsSuperAdmin 保留真实身份,用于判断能否切换。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-26 07:47:27 -06:00
xuyue dd29f04664 change to vite8
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-07-02 18:28:47 -06:00
xuyueandClaude Opus 4.6 2fbcbd07c5 feat: update frontend for four-tier role system
Add Student Admin and Teacher Admin roles to constants, types, store,
permissions, routes, and admin UI. Teacher Admin sees contests and
problemsets in sidebar; Student Admin sees only problems.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-02 18:13:39 -06:00
xuyue 7e6d03ca1a 统一导入 2025-10-05 20:07:41 +08:00
xuyue 8ede959fc2 在题目详情页显示数据统计 2025-10-03 15:28:25 +08:00
xuyue efbca0e802 重构用户权限
Deploy / deploy (push) Has been cancelled
2025-09-25 18:41:32 +08:00
xuyue 24f9e97962 remove element-plus icons. 2023-11-22 00:12:13 +08:00
xuyue 710f4b5eb9 更新首页列表 2023-11-01 19:03:01 +08:00
xuyue b66fbe594b fix shiki. 2023-02-22 23:10:31 +08:00
xuyue 86315f63dc add setting. 2023-02-17 08:41:58 +08:00
xuyue b5e1b3db3a add user/setting page. 2023-02-13 20:55:36 +08:00
xuyue b060262f70 remove useAxios. 2023-01-23 21:35:10 +08:00
xuyue d45783334d fix. 2023-01-13 22:11:28 +08:00
xuyue edce7c4cc7 use ??. 2023-01-13 10:54:34 +08:00
xuyue ab5cb8610b fix monaco. 2023-01-12 09:36:13 +08:00