add
This commit is contained in:
@@ -44,12 +44,10 @@ Vue.component('my_focus',{
|
||||
},
|
||||
methods:{
|
||||
loadMyFocus:function(){
|
||||
axios.get("/rest/quotations/userCollectCityInfo", {
|
||||
params: {
|
||||
}
|
||||
}).then(function(response){
|
||||
myFocusDatas.myFocusList = response.data.data.results
|
||||
axios.get("/rest/quotations/userCollectCityInfo").then(function(response){
|
||||
myFocusDatas.myFocusList = response.data.data
|
||||
}).catch(function(error){
|
||||
alert(error);
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
@@ -60,14 +58,14 @@ Vue.component('my_focus',{
|
||||
})
|
||||
|
||||
//我的关注
|
||||
var myFocus = new Vue({
|
||||
el:"#myFocus",
|
||||
data:{
|
||||
myfocusList:[{num:1,city:"test1",avgPrice:"123",percent:"",ranking:"1"},
|
||||
{num:2,city:"test2",avgPrice:"321",percent:"6.6",ranking:"2"}
|
||||
]
|
||||
}
|
||||
})
|
||||
//var myFocus = new Vue({
|
||||
// el:"#myFocus",
|
||||
// data:{
|
||||
// myfocusList:[{num:1,city:"test1",avgPrice:"123",percent:"",ranking:"1"},
|
||||
// {num:2,city:"test2",avgPrice:"321",percent:"6.6",ranking:"2"}
|
||||
// ]
|
||||
// }
|
||||
//})
|
||||
|
||||
//涨幅榜
|
||||
var tabCityRanking1 = new Vue({
|
||||
|
||||
Reference in New Issue
Block a user