#
luxiaotao1123
2024-03-02 517e8ec7024d67263e2df543cc7c84ab8b294b24
zy-asrs-flow/src/pages/map/index.jsx
@@ -11,7 +11,7 @@
    let dark = token.colorBgBase === '#000';
    return {
        layout: {
            // overflow: 'hidden',
            overflow: 'hidden',
        },
        header: {
            height: 64,
@@ -109,20 +109,29 @@
                    <Flex className={styles.flex} gap={'large'} justify={'flex-end'} align={'center'}>
                        <Button onClick={editHandle} size={'large'}><FormattedMessage id='map.edit' defaultMessage='编辑地图' /></Button>
                    </Flex>
                    <Edit
                        open={editModalVisible}
                        onCancel={
                            () => {
                                setEditModalVisible(false);
                            }
                        }
                        refCurr={mapRef.current}
                    />
                </Header>
                <Content ref={contentRef} className={styles.content}>
                    <div ref={mapRef}></div>
                    <div ref={mapRef} style={{ position: "relative" }}>
                    </div>
                </Content>
            </Layout>
            <Edit
                open={editModalVisible}
                onCancel={
                    () => {
                        setEditModalVisible(false);
                    }
                }
            />
        </>
    )
}