Forráskód Böngészése

fix虚拟摄像头

Michael Wang 5 éve
szülő
commit
4e22a456e2
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/features/Login/Login.vue

+ 2 - 2
src/features/Login/Login.vue

@@ -563,6 +563,7 @@ export default {
         "MeiSe",
         "Virtual Cam",
         "YY伴侣",
+        "WebcamMax Capture",
       ];
 
       function checkVCamTxt() {
@@ -582,6 +583,7 @@ export default {
           });
           return;
         }
+        this.disableLoginBtnBecauseVCam = false;
         if (applicationNames && applicationNames.trim()) {
           for (const vc of vcamList) {
             if (applicationNames.includes(vc)) {
@@ -594,8 +596,6 @@ export default {
               console.log(applicationNames);
             }
           }
-        } else {
-          this.disableLoginBtnBecauseVCam = false;
         }
       }
       //如果配置中配置了 DISABLE_VIRTUAL_CAMERA