소스 검색

pref: 处理新增加用户验证方式

wangcz 7 년 전
부모
커밋
8416b1c3bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/webapp/resources/js/sso/controllers/staffManagementCtrl.js

+ 1 - 1
src/main/webapp/resources/js/sso/controllers/staffManagementCtrl.js

@@ -260,7 +260,7 @@ define(['app/app'], function (app) {
                 toaster.pop('error', '请输入用户手机号码');
                 toaster.pop('error', '请输入用户手机号码');
                 return;
                 return;
             }
             }
-            if (!$scope.userTelSuccess || !$scope.userEmailSuccess) {
+            if ($scope.userTelError || $scope.userEmailError) {
                 toaster.pop('error', '请输入正确的信息后提交');
                 toaster.pop('error', '请输入正确的信息后提交');
                 return;
                 return;
             }
             }