react 官网,prop的默认值是true
https://zh-hans.reactjs.org/docs/jsx-in-depth.html#props-default-to-true
11-29
04-05
1531
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-04
1729
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
react 官网,prop的默认值是true
https://zh-hans.reactjs.org/docs/jsx-in-depth.html#props-default-to-true