#
luxiaotao1123
2024-10-17 1e465fcab874dd5bf60fdff4151a3742b5a755b0
zy-acs-flow/src/map/insight/shelf/index.jsx
@@ -5,7 +5,7 @@
import JsonShow from '../../JsonShow';
const ShelfInsight = (props) => {
    const { sprite } = props;
    const { sprite, setTitle } = props;
    const theme = useTheme();
    const themeMode = theme.palette.mode;
    const translate = useTranslate();
@@ -18,22 +18,20 @@
    };
    return (
        <>
        <Box sx={{ height: '100%', display: 'flex', flexDirection: 'column' }}>
            <Tabs
                value={activeTab}
                onChange={handleTabChange}
                indicatorColor="primary"
                textColor="primary"
                centered
                sx={{ mb: 0 }}
            >
                <Tab label={translate('page.map.settings.map.title')} />
                <Tab label={translate('page.map.settings.config.title')} />
                <Tab label={translate('page.map.insight.title')} />
                <Tab label={'JSON'} />
            </Tabs>
            <Divider />
            <Box pt={1}>
            <Box flex={1} pt={2}>
                {activeTab === 0 && (
                    <ShelfMain
                        data={sprite?.data}
@@ -48,7 +46,7 @@
                    />
                )}
            </Box>
        </>
        </Box>
    )
}