如果我有类似的东西
<Parent> <Child1 /> <Child2 /> <Child3 /> </Parent>
我想从Child2我所在的位置访问,我该refs="child2refs"怎么做?
Child2
refs="child2refs"
reactjs
reactjs ×1