zhangjie hai 1 ano
pai
achega
2ae419a1ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/login/views/Login.vue

+ 1 - 1
src/modules/login/views/Login.vue

@@ -229,7 +229,7 @@ export default {
       this.$ls.set("schoolInfo", data);
     },
     switchLoginType() {
-      if (!this.phoneLogin) return;
+      if (!this.schoolInfo.phoneLogin) return;
       this.loginType = this.loginType === "ACCOUNT" ? "PHONE" : "ACCOUNT";
     },
     async submit(name) {