This commit is contained in:
2018-04-19 18:05:17 +08:00
parent a0e5dc2462
commit ea56641817
6 changed files with 72 additions and 65 deletions
@@ -65,22 +65,3 @@ Vue.component('my_focus',{
}
})
function reloadMyFocus(){
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
$("#myFocusFirstPage").hide()
$("#myFocus").hide();
}else{
axios.get("/rest/quotations/userCollectCityInfo").then(function(response){
if(response.data.data.length==0){
$("#myFocusFirstPage").hide();
$("#myFocus").hide();
}else{
myFocusDatas.myFocusList = response.data.data;
$("#myFocus").show()
}
}).catch(function(error){
console.log(error)
})
}
}