谢杰标 2 жил өмнө
parent
commit
2845928385

+ 5 - 2
components/popup/camera.vue

@@ -299,7 +299,11 @@ export default {
       );
       // #endif
     },
-
+    takePhTips() {
+      this.popupPhotoShow = true;
+      this.isShow = false;
+      this.isTaking = false;
+    },
     /**
      * 人脸匹配
      */
@@ -428,7 +432,6 @@ export default {
   },
   watch: {
     visible(val) {
-      console.log("🚀 ~ file: camera.vue:439 ~ visible ~ val:", val);
       if (val) {
         this.openCamera();
       } else {

+ 1 - 1
pages3/polyv/detail.vue

@@ -1493,7 +1493,7 @@ export default {
       this.clearPauseTimer();
     },
     openCamera() {
-      console.log("拍照");
+      if (this.showCamera) return;
       this.showCamera = true;
       this.refPlv.playPause();
       this.refPlv.exitFullScreen();