YOUFANG app 1.0.3
This commit is contained in:
@@ -14,6 +14,14 @@ axios.interceptors.request.use(function (config) {
|
||||
axios.interceptors.response.use(function (response) {
|
||||
return response;
|
||||
}, function (error) {
|
||||
clicked('error.html',true,false,{},{},function(){})
|
||||
if(error=="Error: Network Error"){
|
||||
if(plus.webview.getWebviewById('error.html')==null){
|
||||
clicked('error.html',true,false,{},{},function(){
|
||||
window.location.reload();
|
||||
})
|
||||
}else{
|
||||
plus.webview.getWebviewById("error.html").show();
|
||||
}
|
||||
}
|
||||
return Promise.reject(error);
|
||||
});
|
||||
Reference in New Issue
Block a user