소스 검색

日志:上传抓拍照片大小

Michael Wang 6 년 전
부모
커밋
7360128783
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/components/FaceRecognition/FaceRecognition.vue

+ 1 - 0
src/components/FaceRecognition/FaceRecognition.vue

@@ -112,6 +112,7 @@ export default {
         const examRecordDataId = this.$route.params.examRecordDataId;
         const captureBlob = await this.getSnapShot();
         // console.log(captureBlob.size);
+        this.serverLog("debug/S-004001", "抓拍照片的大小:" + captureBlob.size);
         const captureFilePath = await this.uploadToServer(captureBlob);
         await this.faceCompare(captureFilePath, examRecordDataId);
       } catch (error) {