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

BaseModel._initState() method

定义reducer监听moduleName._initState,用来注入初始状态

Signature:

protected _initState(state: TModuleState): TModuleState;

Parameters

ParameterTypeDescription
stateTModuleState

Returns:

TModuleState