Przeglądaj źródła

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

Michael Wang 5 lat temu
rodzic
commit
d7fe3bb412
1 zmienionych plików z 1 dodań i 1 usunięć
  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: