react props 打印为空
不知道 这里props为啥打印为空,初学react不知道该如何解决。
收起
你 constructor 传入的 prop少写了 一个s
constructor(props){ super(props) }
报告相同问题?