Home > @elux/react-taro > BaseModel > getCurrentAction

BaseModel.getCurrentAction() method

获取当前触发的action.type

Signature:

protected getCurrentAction(): Action;

Returns:

Action

Remarks

当一个ActionHandler监听了多个Action,可以使用此方法区别当前Action