登录刷新
This commit is contained in:
@@ -482,9 +482,6 @@ function collectCity(city, type){
|
|||||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||||
collectCity(city, type)
|
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;
|
return;
|
||||||
} else {
|
} else {
|
||||||
@@ -498,7 +495,10 @@ function collectCity(city, type){
|
|||||||
|
|
||||||
$.confirm(title, function () {
|
$.confirm(title, function () {
|
||||||
docollectCity(city, type)
|
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/houseDetail.html').reload();
|
||||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
|
||||||
// loadMyCollectCity()
|
// loadMyCollectCity()
|
||||||
if(type == 0){
|
if(type == 0){
|
||||||
var curDatas = cityDetaiVue.$data.citys
|
var curDatas = cityDetaiVue.$data.citys
|
||||||
@@ -99,6 +96,9 @@ Vue.component('city_increase_ranking',{
|
|||||||
console.log(error)
|
console.log(error)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
@@ -156,7 +156,6 @@ Vue.component('city_increase_ranking',{
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
$.confirm("您确定要取消关注?", function () {
|
$.confirm("您确定要取消关注?", function () {
|
||||||
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
|
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
|
||||||
//$(event.target).parent().children().removeClass("dn");
|
//$(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/houseDetail.html').reload();
|
||||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
|
||||||
reloadMyFocus()
|
reloadMyFocus()
|
||||||
reloadCityIncreaseRanking()
|
reloadCityIncreaseRanking()
|
||||||
//cityDetaiVue.$data.citys.push(city);
|
//cityDetaiVue.$data.citys.push(city);
|
||||||
@@ -106,6 +105,9 @@ Vue.component('city_potential_ranking',{
|
|||||||
console.log(error)
|
console.log(error)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user