From 83c548d3dba59aaed9b52b5d413c6912a87d2efc Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 16 六月 2024 15:50:14 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx b/zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
index 5edecb6..faef89f 100644
--- a/zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
+++ b/zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
@@ -4,7 +4,7 @@
 import { createStyles } from 'antd-style';
 import * as Utils from '../../utils'
 import Http from '@/utils/http';
-import JSON from './json';
+import ShowJson from '../showJson';
 
 const useStyles = createStyles(({ token, css }) => {
 
@@ -14,12 +14,10 @@
     const intl = useIntl();
     const { styles } = useStyles();
     const [activeTabKey, setActiveTabKey] = useState('json');
-    
-    const { curSprite } = props;
 
     const contentList = {
         json: (
-            <JSON
+            <ShowJson
                 curSprite={props.curSprite}
             />
         ),
@@ -28,6 +26,7 @@
     return (
         <>
             <Card
+                className='drawer-card'
                 hoverable
                 bordered={false}
                 type='inner'
@@ -48,6 +47,9 @@
                     style: {
                     }
                 }}
+                style={{
+                    height: '100%'
+                }}
             >
                 {contentList[activeTabKey]}
             </Card>

--
Gitblit v1.9.1