Răsfoiți Sursa

日志:上传抓拍照片大小

Michael Wang 6 ani în urmă
părinte
comite
7360128783
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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) {