From b7ea068a4eb308659287b57004c468290ba22c4e Mon Sep 17 00:00:00 2001 From: let5sne Date: Thu, 9 Jul 2026 23:14:45 +0800 Subject: [PATCH] fix(frontend): remove interview sample fill actions --- frontend/src/views/recruit/interview.vue | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/frontend/src/views/recruit/interview.vue b/frontend/src/views/recruit/interview.vue index 893fe4ff..2c76dbc6 100644 --- a/frontend/src/views/recruit/interview.vue +++ b/frontend/src/views/recruit/interview.vue @@ -105,21 +105,13 @@
候选人回答 · {{ activeQuestion.scenario }} - 填入参考回答
- +
上一题 下一题 - 填满参考回答 保存草稿 完成评分
@@ -518,17 +510,6 @@ const generateQuestions = async () => { generated.value = true; }; -const fillSampleAnswer = () => { - answers[activeQuestion.value.id] = activeQuestion.value.sampleAnswer; -}; - -const fillAllSampleAnswers = () => { - questions.value.forEach((question) => { - answers[question.id] = question.sampleAnswer; - }); - ElMessage.success('已填入全部参考回答'); -}; - const moveQuestion = (offset: number) => { const index = questions.value.findIndex((question) => question.id === activeQuestion.value.id); const nextIndex = Math.min(Math.max(index + offset, 0), questions.value.length - 1);