Vue.component('follow-list', {
template: `
`,
data: function() {
return {
eduList: "",
curPage:1
}
},
props:["eduData"],
methods: {
viewDetail: function(id) {
top.layer.open({
type: 2,
maxmin: true,
area: ['600px', '360px'],
shadeClose: true,
content: 'ddd'
});
}
},
watch:{
consultaData:function(val){
this.eduList=this.eduData;
}
},
mounted: function() {
this.$emit('init-data', this.curPage);
}
})