【修改】试卷任务,人员,试题删除提示
This commit is contained in:
@@ -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 {}
|
||||
|
Reference in New Issue
Block a user