import React, { useState, useEffect, useCallback, useRef } from 'react'; import { Form, Modal, Space, Divider, Radio, Checkbox, notification } from 'antd'; import styles from './incident.less'; const ChangeImageModal = props => { const { callBackSubmit = () => { }, isType, pickItem, visible, filed, filed1, characterValue, newCheckedList } = props; const onSubmit = () =>{ callBackSubmit({ }); } return ( <Modal visible={visible} title='点击选择图片文件' bodyStyle={{ width: '100%', minHeight: '100px' }} style={{ top: '10px' }} width="700px" destroyOnClose okText="确认" cancelText="取消" {...props} onOk={onSubmit} > </Modal> ) } export default ChangeImageModal;