练一练是原地改的,作答记录跟着题走:改了答案或选项,按旧答案做对的人仍然显示做对、 「最后错在 选了 B」说的也是旧选项。编辑框底下多一个「同时清空学生的作答(N 人做过)」, 没人做过时不出现;勾上保存,学生那边这道题回到没做。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1ebb23cdac
commit
a814776fb9
4 files changed
+79
-22
No files matched your search
@@ -521,11 +521,13 @@ export async function updateExercise(data: {
|
||||
type: ExerciseType
|
||||
data: object
|
||||
order: number
|
||||
resetAttempts: boolean
|
||||
}) {
|
||||
return api.put<Exercise>(`admin/exercises/${data.id}`, {
|
||||
type: data.type,
|
||||
data: data.data,
|
||||
order: data.order,
|
||||
resetAttempts: data.resetAttempts,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user