react 建議容器組件放state 然后子組件都props傳數(shù)據(jù) 然后子組件修改數(shù)據(jù)后在props.callback到容器組件進行state改變。這樣嵌套很多層難道要寫很多callback 查看完整描述