Home > @elux/react-taro > BaseModel > dispatch
BaseModel.dispatch() method
等同于this.store.dispatch(action)
Signature:
protected dispatch(action: Action): void | Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
action | Action |
Returns:
void | Promise<void>