|
@@ -216,7 +216,8 @@ export default {
|
|
|
async fetchSmsCode() {
|
|
|
const validAll = [
|
|
|
this.checkField("loginName"),
|
|
|
- this.checkField("password")
|
|
|
+ this.checkField("password"),
|
|
|
+ this.checkField("schoolCode")
|
|
|
];
|
|
|
|
|
|
let result = true;
|
|
@@ -229,6 +230,7 @@ export default {
|
|
|
this.isFetchingCode = true;
|
|
|
const data = await getSmsCode({
|
|
|
loginName: this.loginModel.loginName,
|
|
|
+ schoolCode: this.loginModel.schoolCode,
|
|
|
password: Base64(this.loginModel.password)
|
|
|
}).catch(() => {
|
|
|
this.isFetchingCode = false;
|