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) {
localStorage.setItem("showLoanMenu", false);
if(errorThrown == 'abort'){
if(plus.webview.getWebviewById('error.html')==null){
clicked('error.html',true,false,{},{},function(){
window.location.reload();
})
}else{
$(".loadingBg").hide();
plus.nativeUI.closeWaiting();
plus.webview.getWebviewById("error.html").show();
}
}
if(plus.webview.getWebviewById('error.html')==null){
clicked('error.html',true,false,{},{},function(){
window.location.reload();
})
}else{
$(".loadingBg").hide();
plus.nativeUI.closeWaiting();
plus.webview.getWebviewById("error.html").show();
}
}
})