图中直接根据 SET_USERDATA 这个type,推断出处理函数的action的Actions类型。 下面直接上createReducer的代码. import { Action } from 'redux' ...
確定! 回上一頁