Showing
2 changed files
with
12 additions
and
0 deletions
This diff could not be displayed because it is too large.
@@ -101,6 +101,12 @@ $('.input-content').on('click', '.verification-code', function() { | @@ -101,6 +101,12 @@ $('.input-content').on('click', '.verification-code', function() { | ||
101 | $('#dialog .content').html(' '); | 101 | $('#dialog .content').html(' '); |
102 | }, 1400); | 102 | }, 1400); |
103 | } | 103 | } |
104 | + }, | ||
105 | + error: function(data) { | ||
106 | + $('#dialog').removeClass('hidden'); | ||
107 | + $('.keep-out').removeClass('hidden'); | ||
108 | + $('#dialog .content').html('<p class="phone-error">网络错误,稍后再试!<p>'); | ||
109 | + console.log(data); | ||
104 | } | 110 | } |
105 | }); | 111 | }); |
106 | }); | 112 | }); |
@@ -153,6 +159,12 @@ $('.input-content').on('click', '.get', function() { | @@ -153,6 +159,12 @@ $('.input-content').on('click', '.get', function() { | ||
153 | $('#dialog .content').html(' '); | 159 | $('#dialog .content').html(' '); |
154 | }, 1400); | 160 | }, 1400); |
155 | } | 161 | } |
162 | + },, | ||
163 | + error: function(data) { | ||
164 | + $('#dialog').removeClass('hidden'); | ||
165 | + $('.keep-out').removeClass('hidden'); | ||
166 | + $('#dialog .content').html('<p class="phone-error">网络错误,稍后再试!<p>'); | ||
167 | + console.log(data); | ||
156 | } | 168 | } |
157 | }); | 169 | }); |
158 | } else { | 170 | } else { |
-
Please register or login to post a comment