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) {