评估审核崩溃bug修复

This commit is contained in:
尹吉欢
2018-04-27 16:11:12 +08:00
parent 528954f79f
commit 0526a1b877
14 changed files with 186 additions and 59 deletions
@@ -344,8 +344,13 @@ function addManagement(id, houseStatus, liveStatus){
var status = response.data.status;
if(status){
$.toast(response.data.data);
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
if(plus.webview.getWebviewById('views/house/houseManageList.html') != null) {
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
}
if(plus.webview.getWebviewById('views/user/userInfo.html')!= null){
plus.webview.getWebviewById('views/user/userInfo.html').reload();
}
}else{
$.toast(response.data.message);
}