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