react JSX中循环遍历并输出对象
{Object.keys(this.props.appearanceNode).map(key => ( <Form.Item {...formItemLayout} key={key}> <div key={key}>{this.props.appearanceNode[key]} </div> </Form.Item> ))}
this.props.appearanceNode 为一个对象, key 为循环的对象的每一项key 值 ,
{this.props.appearanceNode[key]}为key值对应的value 值