#
luxiaotao1123
2024-03-25 dc737c6244f6411994db152b84465b63d6972d26
#
2个文件已修改
26 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/map/batch/index.jsx 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/index.jsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/batch/index.jsx
@@ -14,6 +14,11 @@
const BatchDrawer = (props) => {
    const intl = useIntl();
    const { styles } = useStyles();
    const {
        batchSprites,
        model,
        ModelEnum,
    } = props;
    useEffect(() => {
    }, [props]);
@@ -52,10 +57,27 @@
                        height: '100%'
                    }}
                >
                    {model === ModelEnum.OBSERVER_MODEL && (
                        <>
                            <ShowJson
                                data={
                                    batchSprites?.map(item => {
                                        return item.data?.no;
                                    })
                                }
                            />
                        </>
                    )}
                    {model === ModelEnum.SETTINGS_MODEL && (
                        <>
                    <BatchModify
                        batchSprites={props.batchSprites}
                                batchSprites={batchSprites}
                        handleCancel={handleCancel}
                    />
                        </>
                    )}
                </Card >
            </Drawer >
        </>
zy-asrs-flow/src/pages/map/index.jsx
@@ -434,6 +434,8 @@
                open={batchDrawerVisible}
                batchSprites={batchSprites}
                refCurr={mapRef.current}
                model={model}
                ModelEnum={MapModel}
                onCancel={() => {
                    setBatchSprites([]);
                    setBatchDrawerVisible(false);