评估审核崩溃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
@@ -58,7 +58,9 @@ Vue.component('city_increase_ranking',{
var msg = response.data.message;
if(msg != "取消关注成功" && msg != "关注成功"){
$.toast(msg);
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
if (plus.webview.getWebviewById('views/house/houseDetail.html') != null) {
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}
}else{
//$(event.target).parent().children().removeClass("dn");
//$(event.target).addClass("dn");
@@ -80,7 +82,9 @@ Vue.component('city_increase_ranking',{
}
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
if(plus.webview.getWebviewById('views/house/houseDetail.html')!= null) {
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}
// loadMyCollectCity()
if(type == 0){
@@ -97,11 +101,17 @@ Vue.component('city_increase_ranking',{
console.log(error)
})
},function(){
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
if (plus.webview.getWebviewById('views/house/houseDetail.html') != null) {
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}
});
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{
@@ -77,7 +77,10 @@ Vue.component('city_potential_ranking',{
var msg = response.data.message;
if(msg != "取消关注成功" && msg != "关注成功"){
$.toast(msg);
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
if(plus.webview.getWebviewById('views/house/houseDetail.html')!= null) {
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}
}else{
//$(event.target).parent().children().removeClass("dn");
//$(event.target).addClass("dn");
@@ -96,7 +99,10 @@ Vue.component('city_potential_ranking',{
}
}
}
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
if(plus.webview.getWebviewById('views/house/houseDetail.html')!= null) {
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}
reloadMyFocus()
reloadCityIncreaseRanking()
@@ -106,11 +112,16 @@ Vue.component('city_potential_ranking',{
console.log(error)
})
},function(){
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
if(plus.webview.getWebviewById('views/house/houseDetail.html')!= null) {
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}
});
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{