Vue component parameters without colons: what the heck is it?

write

like this
<child  paName=""></child>  

how do I get this paName property in the child component?


The value passed by

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.

.

clipboard.png


you can find

in the $attrs of this.
Menu