From c6230b5765eb0b8ac69f8a17c191cc5757d42b18 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 18 十月 2024 12:56:49 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/insight/shelf/index.jsx | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/zy-acs-flow/src/map/insight/shelf/index.jsx b/zy-acs-flow/src/map/insight/shelf/index.jsx index 7dd73bb..79eb244 100644 --- a/zy-acs-flow/src/map/insight/shelf/index.jsx +++ b/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(); @@ -22,13 +22,11 @@ <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 /> -- Gitblit v1.9.1