write
like this<child paName=""></child>
how do I get this paName property in the child component?
write
like this<child paName=""></child>
how do I get this paName property in the child component?
component is divided into direct value
and dynamic value
. Like you, you can directly pass a value: ide/components.html" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.
you can find
in the $attrs of this.Previous: How to solve the problem that Android OkHttp3 can't get the complete json data?
Next: How to implement jump routing by public methods in vue
Click the plus sign, the page does not respond, there is no change. Why? the vue debugger shows that my children property has been inserted into the value, but the page is not rendered. There is data in the code, so you can run locally. call pa...