set data from props vue code example
Example: vue get props into data
props : {
users : Array,
currentuser: Number,
todoId : Number
},
mounted() {
this.current = this.currentuser
},
data(){
return{
current: null
}