#
luxiaotao1123
2024-03-18 4372fc567d19dfc945a5017a264ee33ac456b9cd
zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
@@ -15,27 +15,15 @@
    const { styles } = useStyles();
    const [activeTabKey, setActiveTabKey] = useState('json');
    const [jsonForm] = Form.useForm();
    const { curSprite } = props;
    const contentList = {
        json: (
            <JSON
                refCurr={props.refCurr}
                curSprite={props.curSprite}
                setSpriteBySettings={props.setSpriteBySettings}
                setDidClickSprite={props.setDidClickSprite}
                onSubmit={props.onSubmit}
                jsonForm={jsonForm}
            />
        ),
    };
    const handleCancel = () => {
        props.onCancel();
    };
    const handleOk = () => {
    }
    return (
        <>
@@ -47,13 +35,6 @@
                    {
                        key: 'json',
                        tab: intl.formatMessage({ id: 'map.drawer.json', defaultMessage: 'JSON' }),
                        // icon: <BorderOuterOutlined />
                    },
                    {
                        key: 'config',
                        tab: intl.formatMessage({ id: 'map.settings.config.param', defaultMessage: '系统参数' }),
                        // icon: <BranchesOutlined />
                    },
                ]}
                activeTabKey={activeTabKey}