Home > @elux/react-taro > BaseModel > getCurrentAction
BaseModel.getCurrentAction() method
获取当前触发的action.type
Signature:
protected getCurrentAction(): Action;
Returns:
Remarks
当一个ActionHandler监听了多个Action,可以使用此方法区别当前Action
Home > @elux/react-taro > BaseModel > getCurrentAction
获取当前触发的action.type
Signature:
protected getCurrentAction(): Action;
Returns:
当一个ActionHandler监听了多个Action,可以使用此方法区别当前Action