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

BaseModel._updateState() method

定义reducer监听moduleName._updateState,用来合并当前状态

Signature:

protected _updateState(subject: string, state: Partial<TModuleState>): TModuleState;

Parameters

ParameterTypeDescription
subjectstring
statePartial<TModuleState>

Returns:

TModuleState