Home > @elux/vue-web > IStore > getState

IStore.getState property

获取store的状态

Signature:

getState: GetState<TStoreState>;

Remarks

storeState由多个moduleState组成,更新时必须等所有moduleState全部更新完成后,后会才一次性commit到store中