jack 3 년 전
부모
커밋
3622b50115
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      src/components/functionFan2.vue

+ 4 - 2
src/components/functionFan2.vue

@@ -293,8 +293,10 @@ export default {
         });
       } catch (e) {
         console.log(e);
-        this.detector.dispose();
-        this.detector = null;
+        try {
+          this.detector.dispose();
+          this.detector = null;
+        } catch (e) {}
       }
       console.log(hands);
       if (hands.length > 0 && this.isCamera) {