소스 검색

fix(exam): add missing click response handling for soft exposure button in device area

sw 4 주 전
부모
커밋
54b50a95da
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/pages/exam/DeviceArea.tsx

+ 2 - 0
src/pages/exam/DeviceArea.tsx

@@ -10,6 +10,7 @@ import {
   GENERATOR_STATUS,
   GeneratorStatus,
 } from '@/states/exam/deviceAreaSlice';
+import triggerInspection from '../../API/exam/triggerInspection';
 
 const DeviceArea = ({ className }: { className?: string }) => {
   const generatorStatus = useSelector(
@@ -68,6 +69,7 @@ const DeviceArea = ({ className }: { className?: string }) => {
           // }
           />
         }
+        onClick={triggerInspection}
         title={`曝光指示器: ${exposureStatus}`}
       />
       <Button