Authored by 徐炜

Merge branch 'feature/installment2a' into release/4.9.2

@@ -139,6 +139,8 @@ $('#send-sms').click(function() { @@ -139,6 +139,8 @@ $('#send-sms').click(function() {
139 return false; 139 return false;
140 } 140 }
141 141
  142 + $(self).data('running', true);
  143 +
142 $.get('/home/installment/starting-service/verify-code', { 144 $.get('/home/installment/starting-service/verify-code', {
143 mobile: formModel.mobile 145 mobile: formModel.mobile
144 }).then(function(result) { 146 }).then(function(result) {
@@ -158,6 +160,8 @@ $('#send-sms').click(function() { @@ -158,6 +160,8 @@ $('#send-sms').click(function() {
158 tip.show(result.message); 160 tip.show(result.message);
159 $(self).data('running', false); 161 $(self).data('running', false);
160 } 162 }
  163 + }).done(function() {
  164 + $(self).data('running', false);
161 }); 165 });
162 166
163 return false; 167 return false;