【修改】试卷任务,人员,试题删除提示

This commit is contained in:
YOHO\20373
2025-06-13 01:50:17 +08:00
committed by 陆光LG
parent ca2b34dc0b
commit ff42d33cbb
19 changed files with 164 additions and 80 deletions

View File

@@ -809,8 +809,12 @@ const handleDelete = async (id: number) => {
}
);
// 发起删除
await QuestionApi.removeQuestions(id)
message.success(t('common.delSuccess'))
const res = await QuestionApi.removeQuestions(id);
if(res=='删除成功'){
message.success(res)
}else{
message.error(res)
}
// 刷新列表
await getList()
} catch {}