chen.lin
6 小时以前 e1cac1af6129216da66e569ddec892dd1f07fe80
rsf-admin/src/page/basicInfo/basStation/BasStationCreate.jsx
@@ -35,7 +35,7 @@
import DictionaryArraySelect from "../../components/DictionaryArraySelect";
const BasStationCreate = (props) => {
    const { open, setOpen } = props;
    const { open, setOpen , copyRecord = null, onClose} = props;
    const translate = useTranslate();
    const notify = useNotify();
@@ -43,6 +43,7 @@
    const handleClose = (event, reason) => {
        if (reason !== "backdropClick") {
            setOpen(false);
            if (typeof onClose === 'function') {onClose();}
        }
    };
@@ -58,7 +59,8 @@
    return (
        <>
            <CreateBase
                record={{}}
              key={open ? (copyRecord ? 'copy' : 'new') : 'closed'}
              record={copyRecord || {}}
                transform={(data) => {
                    return data;
                }}