zhangjie 1 year ago
parent
commit
3e4efb368c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/login/views/Login.vue

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

@@ -279,7 +279,8 @@ export default {
       if (
         data.userLoginCheckResult &&
         (!data.userLoginCheckResult.pwdCount ||
-          !data.userLoginCheckResult.mobileNumber)
+          !data.userLoginCheckResult.mobileNumber) &&
+        this.schoolInfo.phoneLogin
       ) {
         this.userInfo = {
           ...this.loginModel,