fixbug
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user