diff --git a/fangija-zsyf/js/axiosPlugin.js b/fangija-zsyf/js/axiosPlugin.js index 28ffc10..114b348 100644 --- a/fangija-zsyf/js/axiosPlugin.js +++ b/fangija-zsyf/js/axiosPlugin.js @@ -21,6 +21,8 @@ axios.interceptors.response.use(function (response) { window.location.reload(); }) }else{ + $(".loadingBg").hide(); + plus.nativeUI.closeWaiting(); plus.webview.getWebviewById("error.html").show(); } } diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html index 7b08e84..40b3e28 100644 --- a/fangija-zsyf/views/house/houseManageList.html +++ b/fangija-zsyf/views/house/houseManageList.html @@ -156,7 +156,7 @@ function addManagement(id, houseStatus, liveStatus){ $('.loadingBgDiv').show(); checkIsLogin(); plus.webview.getWebviewById('views/user/userInfo.html').reload(); - plus.webview.getWebviewById('yfindex.html').reload(); + //plus.webview.getWebviewById('yfindex.html').reload(); }else{ $.toast(response.data.message); } diff --git a/fangija-zsyf/views/setting/setting.html b/fangija-zsyf/views/setting/setting.html index 9492d3f..d0fad15 100644 --- a/fangija-zsyf/views/setting/setting.html +++ b/fangija-zsyf/views/setting/setting.html @@ -106,7 +106,7 @@ mui.init({ }); function logout() { - plus.webview.getWebviewById('yfindex.html').reload(); + //plus.webview.getWebviewById('yfindex.html').reload(); localStorage.removeItem("user_token"); localStorage.removeItem("user_token_add_time"); //退出登录之前loading下个人中心 diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index dd9f42a..22c06ad 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -290,7 +290,7 @@ function checkIsLogin(){ function gotoLogin(){ clicked('/views/user/codeSms.html',true,false,{},{},function(){ plus.webview.getWebviewById('views/house/houseManageList.html').reload(); - plus.webview.getWebviewById('yfindex.html').reload(); + //plus.webview.getWebviewById('yfindex.html').reload(); plus.webview.getWebviewById('views/house/houseDetail.html').reload(); checkIsLogin(); }) diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html index 37ae806..e1d94b6 100644 --- a/fangija-zsyf/yfindex.html +++ b/fangija-zsyf/yfindex.html @@ -43,7 +43,7 @@