1 props : {
2 users : Array,
3 currentuser: Number,
4 todoId : Number
5 },
6 mounted() {
7 this.current = this.currentuser
8 },
9 data(){
10 return{
11 current: null
12 }
1data: function() {
2 var theData = {
3 somevar: this.messageId,
4 // other object attributes
5 }
6
7 return theData;
8}
9