props : {
users : Array,
currentuser: Number,
todoId : Number
},
mounted() {
this.current = this.currentuser
},
data(){
return{
current: null
}
data: function() {
var theData = {
somevar: this.messageId,
// other object attributes
}
return theData;
}