This commit is contained in:
2018-05-21 17:55:32 +08:00
parent 970302a1bb
commit ba2a967b7e
5 changed files with 28 additions and 10 deletions
+2 -1
View File
@@ -22,9 +22,10 @@ axios.interceptors.response.use(function (response) {
return response;
}, function (error) {
try {
if(error=="Error: Network Error" || error.toString().indexOf('timeout') > -1){
if(plus.webview.getWebviewById('error.html')==null){
clicked('error.html',true,false,{},{},function(){
clicked('error.html',true,false,{},{flag:1},function(){
window.location.reload();
})
}else{