Answer the question
In order to leave comments, you need to log in
How to access object parameter by key?
props: [
'user'
],
mounted: function(){
console.log(this.user);
},
{"id":1,""slug":"1","nickname":"qweasdqwe","email":"[email protected] ...
mounted: function(){
console.log(this.user.nickname); // undefined
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question