From ae81dbb1364e69cc8c73462795a64cbc6316c1fc Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 17 十月 2024 10:03:50 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/insight/shelf/index.jsx |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/zy-acs-flow/src/map/insight/shelf/index.jsx b/zy-acs-flow/src/map/insight/shelf/index.jsx
index 8652896..b4e05b5 100644
--- a/zy-acs-flow/src/map/insight/shelf/index.jsx
+++ b/zy-acs-flow/src/map/insight/shelf/index.jsx
@@ -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>
     )
 }
 

--
Gitblit v1.9.1