猜想是绑定啥东东,在国内一直找不到答案,然后跑到一个帅哥找到答案,其实在官方文档中也有,也没有细致注意到

 

If you need to bind all props to a inner component like this:

You instead can do this:

But only if defined in props.

 

官网解释,就妹的一行

相关文章: