This commit is contained in:
@@ -130,3 +130,21 @@ type QuestionContent = {
|
||||
### 6.6 校验
|
||||
- `npm run lint`:0 errors(仓库其他位置仍存在 warnings)
|
||||
- `npm run typecheck`:通过
|
||||
|
||||
---
|
||||
|
||||
## 7. 实现更新(2026-03-03)
|
||||
|
||||
### 7.1 登录态与权限校验
|
||||
- 题库创建/更新/知识点加载统一使用会话身份;缺失会话时回退到首个教师账号以保持演示可用。
|
||||
- 主要修改:
|
||||
- [actions.ts](file:///c:/Users/xiner/Desktop/CICD/src/modules/questions/actions.ts)
|
||||
|
||||
### 7.2 弹窗稳定性
|
||||
- Create Question 弹窗在打开时仅在默认知识点变化时更新,避免重复 setState 造成循环更新。
|
||||
- 主要修改:
|
||||
- [create-question-dialog.tsx](file:///c:/Users/xiner/Desktop/CICD/src/modules/questions/components/create-question-dialog.tsx)
|
||||
|
||||
### 7.3 校验
|
||||
- `npm run lint`:通过
|
||||
- `npm run typecheck`:通过
|
||||
|
||||
Reference in New Issue
Block a user