Showing
1 changed file
with
5 additions
and
1 deletions
@@ -101,8 +101,12 @@ function setPassword() { | @@ -101,8 +101,12 @@ function setPassword() { | ||
101 | showErrTip(data.message); | 101 | showErrTip(data.message); |
102 | } | 102 | } |
103 | }, | 103 | }, |
104 | - error: function() { | 104 | + error: function(data) { |
105 | $btnSure.removeClass('disable'); | 105 | $btnSure.removeClass('disable'); |
106 | + | ||
107 | + if (data && data.responseJSON && data.responseJSON.message) { | ||
108 | + showErrTip(data.message); | ||
109 | + } | ||
106 | } | 110 | } |
107 | }); | 111 | }); |
108 | } | 112 | } |
-
Please register or login to post a comment