登录刷新
This commit is contained in:
@@ -482,9 +482,6 @@ function collectCity(city, type){
|
||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||
collectCity(city, type)
|
||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||
})
|
||||
return;
|
||||
} else {
|
||||
@@ -498,7 +495,10 @@ function collectCity(city, type){
|
||||
|
||||
$.confirm(title, function () {
|
||||
docollectCity(city, type)
|
||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
});
|
||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user