import React, { Component } from "react"; import { Modal, Icon, Upload } from "antd"; import { timingSafeEqual } from "crypto"; import ImgList from "../../../../common/imgList"; class PicturesWall extends Component { constructor(props) { super(props); this.state = { fileList: this.props.pictureUrl }; this.handleChange = this.handleChange.bind(this); } handleChange(info) { let fileList = info.fileList; this.setState({ fileList }); this.props.fileList(fileList); } componentWillReceiveProps(nextProps) { this.state.fileList = nextProps.pictureUrl; } render() { const { fileList } = this.state; const { orderNo = undefined, bindId = undefined, deleteApi = "", sign = "" } = this.props return (