The input parameters are undefined?

There is a parent component in which I call the child component and pass parameters.
In the component 'news recommendation' deduce in the console the input parameters, outputs undefined.
In Vue DevTools input parameters are.
Can't understand what the problem is
June 3rd 19 at 19:29
1 answer
June 3rd 19 at 19:31
Your mistake is that the child component is being rendered and invoked his hook mounted before the parent component will finish its request axios. Therefore, the hook undefined and in console appear.

As an option, add-v if on the child component with the corresponding conditions

Find more questions by tags Vue.js