Explorar el Código

虚拟摄像头设备名称的忽略大小写比较

Michael Wang hace 5 años
padre
commit
d7fe3bb412
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/features/Login/Login.vue

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

@@ -776,7 +776,7 @@ export default {
         this.disableLoginBtnBecauseVCam = false;
         if (applicationNames && applicationNames.trim()) {
           for (const vc of vcamList) {
-            if (applicationNames.includes(vc)) {
+            if (applicationNames.toUpperCase().includes(vc.toUpperCase())) {
               this.disableLoginBtnBecauseVCam = true;
               this.$Message.info({
                 content: