我有一个能正确返回数据的效果,我正在用一个效果中的数据调用一个动作,但reducer "detailsList“总是未定义的。效果调用CustomAction.ShowDetails(属性数据) 效果 response.student.details always has data so the response is correctcreateStudentReducer( action: Action return reducer(state, action);
} detailsL
我正在犯以下错误:import * as PfaAction from '..actions/profilefunctionarea.actions';
import { Action, createSelector, createFeatureSelector } from "@ngrxgetPfaState, (state: State) => state.data); <-- here
当我试图创建ngrx存储时,我得到了7个错误。TypeError:不能指定为只读属性'18‘的对象’对象数组‘\ TypeError:不能分配给只读属性'incompleteFirstPass’的对象' Object‘TypeError:不能读取未定义的属性(读取’值‘)import { createReducer, on } from '@ngrx/store';
import { F