소스 검색

为高压发生器添加日志

sw 4 일 전
부모
커밋
a59cb1880d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/API/exam/deviceActions.ts

+ 1 - 0
src/API/exam/deviceActions.ts

@@ -22,6 +22,7 @@ const resetAllDevices = async () => {
   };
 
   try {
+    console.log(`[deviceActions][resetAllDevices][重置高压发生器] ${JSON.stringify(resetGenerator)}`)
     await axiosInstance.post('/auth/device/action', resetGenerator);
   } catch (error) {
     console.error(`[重置所有设备出错 ] `, error);