YOUFANG 1.0.3

This commit is contained in:
zongzhimin
2018-04-16 14:39:45 +08:00
parent 6456425e59
commit 2e41d41ded
+1 -3
View File
@@ -1572,13 +1572,11 @@ function addFocus(city){
}) })
}else{ }else{
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){ axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
if(response.data.status){
reloadMyFocus() reloadMyFocus()
reloadCityIncreaseRanking() reloadCityIncreaseRanking()
reloadCityPotentialRanking() reloadCityPotentialRanking()
cityDetaiVue.$data.citys.push(city); cityDetaiVue.$data.citys.push(city);
if(response.data.status){
reloadMyFocus()
cityDetaiVue.$data.citys.push(city);
} else { } else {
$.toast(response.data.message); $.toast(response.data.message);
} }