diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index 003be3e..7635d34 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -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 {} diff --git a/src/views/task/exam/components/steps/step1/components/step-edit.vue b/src/views/task/exam/components/steps/step1/components/step-edit.vue index 2b1e225..805c5f3 100644 --- a/src/views/task/exam/components/steps/step1/components/step-edit.vue +++ b/src/views/task/exam/components/steps/step1/components/step-edit.vue @@ -86,10 +86,10 @@ {{ availableCount }} - +