ChangeImage.jsx 853 Bytes
Newer Older
皮倩雯's avatar
皮倩雯 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
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;