Showing
2 changed files
with
7 additions
and
1 deletions
@@ -41,6 +41,10 @@ | @@ -41,6 +41,10 @@ | ||
41 | </li> | 41 | </li> |
42 | {{/each}} | 42 | {{/each}} |
43 | {{#if mobileCode}} | 43 | {{#if mobileCode}} |
44 | + <li class="user-form-li captcha-li"> | ||
45 | + <div class="safe-form-l">图形验证码:</div> | ||
46 | + <div class="captcha-safe-form-r"></div> | ||
47 | + </li> | ||
44 | <li class="user-form-li"> | 48 | <li class="user-form-li"> |
45 | <div class="safe-form-l">手机验证码:</div> | 49 | <div class="safe-form-l">手机验证码:</div> |
46 | <div class="safe-form-r"> | 50 | <div class="safe-form-r"> |
@@ -457,7 +457,9 @@ $(function() { | @@ -457,7 +457,9 @@ $(function() { | ||
457 | }); | 457 | }); |
458 | 458 | ||
459 | $('#send-mobile-code').on('click', function() { | 459 | $('#send-mobile-code').on('click', function() { |
460 | - sendcode(); | 460 | + captcha.check().then(function() { |
461 | + sendcode(); | ||
462 | + }); | ||
461 | }); | 463 | }); |
462 | 464 | ||
463 | if ($('#newPwd').length > 0) { | 465 | if ($('#newPwd').length > 0) { |
-
Please register or login to post a comment