lvzhikai лет назад: 5
Родитель
Сommit
a2d3fade85

+ 2 - 2
src/main/resources/static/app/auth/views/login.html

@@ -46,7 +46,7 @@
46 46
 										style="width:70px;font-size:10px;height:24px;line-height:24px;margin:5px 0 0 5px;background:url(styles/img/login/button_bg.png) 0 0 no-repeat;"/>
47 47
 								</div> -->
48 48
 								
49
-								<section>
49
+								<!--<section>
50 50
 									<div class="box-information1">
51 51
 										<div class="input-group box-cesstion">
52 52
 											<span class="input-group-addon" id="sizing-addon2">
@@ -57,7 +57,7 @@
57 57
 											<img id="validateCode" src="{{file}}" ng-click="onload()" alt="" />
58 58
 										</a>
59 59
 									</div>
60
-								</section>
60
+								</section>-->
61 61
 								<div class="login-btn-box">
62 62
 									<button type="button" class="reset-btn" ng-click="login()">登&nbsp;&nbsp;录</button>
63 63
 									<button type="reset" class="login-btn" value="" ng-click="reset()">重&nbsp;&nbsp;置</button>

+ 2 - 2
src/main/resources/static/app/system/controller/userCtrl.js

@@ -488,10 +488,10 @@ angular.module('app.system').controller("userLoginCtrl",
488 488
                     alert("请输入手机验证码!");
489 489
                     return false;
490 490
                 }*/
491
-                if ($scope.yzm == undefined) {
491
+                /*if ($scope.yzm == undefined) {
492 492
                     alert("请输入验证码!");
493 493
                     return false;
494
-                }
494
+                }*/
495 495
                 userService.login($scope.username, $scope.password, $scope.yzm, null, loginType,$scope.verifyCode).then(function(data) {
496 496
                     if (data.status == true) {
497 497
                     	clearInterval(timers);//登录成功删除倒计时