This commit is contained in:
尹吉欢
2018-04-19 19:06:00 +08:00
parent 94922e4cc6
commit f62718326d
+9 -11
View File
@@ -119,17 +119,15 @@
}, },
error: function(XMLHttpRequest, textStatus, errorThrown) { error: function(XMLHttpRequest, textStatus, errorThrown) {
localStorage.setItem("showLoanMenu", false); localStorage.setItem("showLoanMenu", false);
if(errorThrown == 'abort'){ if(plus.webview.getWebviewById('error.html')==null){
if(plus.webview.getWebviewById('error.html')==null){ clicked('error.html',true,false,{},{},function(){
clicked('error.html',true,false,{},{},function(){ window.location.reload();
window.location.reload(); })
}) }else{
}else{ $(".loadingBg").hide();
$(".loadingBg").hide(); plus.nativeUI.closeWaiting();
plus.nativeUI.closeWaiting(); plus.webview.getWebviewById("error.html").show();
plus.webview.getWebviewById("error.html").show(); }
}
}
} }
}) })