zhangjie 1 년 전
부모
커밋
2ae419a1ee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {