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