Michael Wang 5 жил өмнө
parent
commit
5f58405a87

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

@@ -259,7 +259,10 @@ export default {
     await this.checkElectronConfig();
     await this.checkVCam();
 
-    if (this.allowLoginType === "IDENTITY_NUMBER") {
+    if (
+      this.allowLoginType.length === 1 &&
+      this.allowLoginType[0] === "IDENTITY_NUMBER"
+    ) {
       this.loginType = "STUDENT_IDENTITY_NUMBER";
     }
   },