YOUFANG 房产行情 house_detail
This commit is contained in:
@@ -44,10 +44,10 @@ Vue.component('my_focus',{
|
||||
},
|
||||
methods:{
|
||||
loadMyFocus:function(){
|
||||
// if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
|
||||
// $("#myFocusFirstPage").hide()
|
||||
// $("#myFocus").hide();
|
||||
// }else{
|
||||
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();
|
||||
@@ -58,7 +58,7 @@ Vue.component('my_focus',{
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
// }
|
||||
}
|
||||
}
|
||||
},mounted:function(){
|
||||
this.loadMyFocus();
|
||||
|
||||
Reference in New Issue
Block a user