Browse Source

日志:上传抓拍照片大小

Michael Wang 6 years ago
parent
commit
7360128783
1 changed files with 1 additions and 0 deletions
  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 examRecordDataId = this.$route.params.examRecordDataId;
         const captureBlob = await this.getSnapShot();
         const captureBlob = await this.getSnapShot();
         // console.log(captureBlob.size);
         // console.log(captureBlob.size);
+        this.serverLog("debug/S-004001", "抓拍照片的大小:" + captureBlob.size);
         const captureFilePath = await this.uploadToServer(captureBlob);
         const captureFilePath = await this.uploadToServer(captureBlob);
         await this.faceCompare(captureFilePath, examRecordDataId);
         await this.faceCompare(captureFilePath, examRecordDataId);
       } catch (error) {
       } catch (error) {