mapStateToProps 是一个函数。它的作用就是像它的名字那样,建立一个从(外部的) state 对象到(UI 组件的) props 对象的映射关系。 作为函数, mapStateToProps ...
確定! 回上一頁