谢杰标 2 年之前
父节点
当前提交
2845928385
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 5 2
      components/popup/camera.vue
  2. 1 1
      pages3/polyv/detail.vue

+ 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();