react 父组件不能直接在子组件上加className,也得用props传递过去

react 父组件不能直接在子组件上加className,也得用props传递过去

猜你喜欢

转载自www.cnblogs.com/luziluck/p/10344721.html