|
@@ -197,13 +197,6 @@ const rejectQuestions = async ({
|
|
|
void message.loading({ content: "打回评卷任务...", key: mkey });
|
|
|
const res = await rejectInspectedTask(realStudentId, questions, reason);
|
|
|
if (res.data.success && store.currentTask) {
|
|
|
- const rejectShowedTasksString = sessionStorage.getItem("reject-showed");
|
|
|
- let rejectShowedTasks: string[] = [];
|
|
|
- if (rejectShowedTasksString) {
|
|
|
- rejectShowedTasks = JSON.parse(rejectShowedTasksString);
|
|
|
- }
|
|
|
- rejectShowedTasks.push(store.currentTask.secretNumber);
|
|
|
- sessionStorage.setItem("reject-showed", JSON.stringify(rejectShowedTasks));
|
|
|
store.currentTask = undefined;
|
|
|
void message.success({ content: "打回成功", key: mkey, duration: 2 });
|
|
|
if (!store.historyOpen) {
|