浏览代码

日志:上传抓拍照片大小

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) {