登录刷新

This commit is contained in:
2018-04-18 16:17:44 +08:00
parent aff124ea13
commit 0322e882a0
3 changed files with 12 additions and 11 deletions
@@ -78,12 +78,9 @@ Vue.component('city_increase_ranking',{
}
}
// reloadMyFocus()
// reloadCityPotentialRanking()
// reloadCityIncreaseRanking()
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
// loadMyCollectCity()
if(type == 0){
var curDatas = cityDetaiVue.$data.citys
@@ -99,6 +96,9 @@ Vue.component('city_increase_ranking',{
console.log(error)
})
});
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
}
})
}else{
@@ -156,7 +156,6 @@ Vue.component('city_increase_ranking',{
}
})
}else{
$.confirm("您确定要取消关注?", function () {
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
//$(event.target).parent().children().removeClass("dn");
@@ -96,8 +96,7 @@ Vue.component('city_potential_ranking',{
}
}
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
reloadMyFocus()
reloadCityIncreaseRanking()
//cityDetaiVue.$data.citys.push(city);
@@ -106,6 +105,9 @@ Vue.component('city_potential_ranking',{
console.log(error)
})
});
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
}
})
}else{