我正在尝试在项目中使用ngrx / store,该项目包含4个表单,最后一页是摘要,以显示已添加的表单详细信息。
我无法从最后一页的商店中选择数据。
例如:this.appStartState = this.store.select('priceOfHouseApartment');
返回[object Object]
这是我正在从事的项目的URL: https://github.com/kunalp16/newAngularWithRedux
答案 0 :(得分:0)
如果收到{
this.props.children.map((slide, index) => {
return React.cloneElement(slide, {
key: index,
className: (this.state.currentActiveIndex === index) ?'active' : ''
});
})
}
,则可以使用[object Object]
管道在HTML模板中显示如下数据:
json
如果您想要对象的特定项目,可以执行以下操作:
<div>{{ data | json }}</div>
我不确定100%是否是您要的内容。请告诉我这是否有帮助:)