import React, { Component } from 'react'; import style from "../index.less"; class MedicalAdvice extends Component { constructor(props) { super(props); this.state = { } } render() { const {advice} = this.props // console.log(advice,'==========='); const {labelListBig,labelListSmall} = advice return ( 医嘱: { labelListBig && labelListBig.map((item,index)=>{ return ( {/* */} ) }) } { labelListSmall && labelListSmall.map((item, index) => { return ( {/* */} ) }) }
{item.name}药品 {item.time}
{item.name}手术/操作 {item.time}
); } } export default MedicalAdvice;