@@ -87,10 +87,11 @@
if (res.status === 0) {
WebViewJavascriptBridge.callHandler('OpenBridgeKit', res.data)
} else {
+ $('.btn').removeAttr('disabled');
$.toast(res.msg, "text");
}
},
- complete: function() {
+ error: function() {
$('.btn').removeAttr('disabled');
})