From cb46e435170d1c8af2797b99e21aa4cc4c0d2c8c Mon Sep 17 00:00:00 2001 From: xianyi Date: Thu, 25 Dec 2025 13:55:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=90=9C=E7=B4=A2=E6=A1=86?= =?UTF-8?q?=E7=9A=84=E9=87=8D=E7=BD=AE=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/exam/ExamSection.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/exam/ExamSection.tsx b/src/components/exam/ExamSection.tsx index 1949a57..672ea13 100644 --- a/src/components/exam/ExamSection.tsx +++ b/src/components/exam/ExamSection.tsx @@ -3,7 +3,7 @@ import type { ExamClient, ExamModalTab } from '../../data/mockData'; import { EXAM_TAGS } from '../../data/mockData'; import { getTodayExamProgress } from '../../api'; import { isExamActionDone } from '../../utils/examActions'; -import { Badge, Card, CardContent, CardHeader, InfoCard, Input } from '../ui'; +import { Badge, Button, Card, CardContent, CardHeader, InfoCard, Input } from '../ui'; import { cls } from '../../utils/cls'; interface ExamSectionProps { @@ -139,13 +139,21 @@ export const ExamSection = ({ -
+
setDebouncedInputValue(e.target.value)} - className='text-sm' + className='text-sm flex-1' /> + {debouncedInputValue && ( + + )}