import React,{Component} from 'react'; import './index.less'; class ImgList extends Component{ constructor(props) { super(props); this.state={} } render() { return (
{ this.props.fileList.map((value,index)=>(
)) } {console.log(this.props.fileList,'图片')}
) } } export default ImgList;