Home > @elux/vue-web > BaseModel > dispatch

BaseModel.dispatch() method

等同于this.store.dispatch(action)

Signature:

protected dispatch(action: Action): void | Promise<void>;

Parameters

ParameterTypeDescription
actionAction

Returns:

void | Promise<void>