From 28f9d6aadef16cafb888ff6bcc97f99bde971d8d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 10 五月 2024 13:58:20 +0800
Subject: [PATCH] #

---
 src/pages/left/index.jsx |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/pages/left/index.jsx b/src/pages/left/index.jsx
index 7977331..9be5251 100644
--- a/src/pages/left/index.jsx
+++ b/src/pages/left/index.jsx
@@ -7,18 +7,17 @@
 
 import StockCharts from './components/stock-charts';
 import TaskCharts from './components/task-charts';
-// import AgvCharts from './components/agv-charts';
+import AgvCharts from './components/agv-charts';
 import CapacityCharts from './components/capacity-charts';
 
 const Left = () => {
-    const [isExpanded, setIsExpanded] = useState(true);
-    // 瀹氫箟鍔ㄧ敾灞炴��
+    const [isExpanded, setIsExpanded] = useState(false);
+
     const containerAnimation = useSpring({
         transform: isExpanded ? 'translate(0%)' : 'translateX(-100%)',
         config: { precision: 0.01 },
     });
 
-    // 鍒囨崲瀹瑰櫒鐘舵��
     const toggleContainer = () => {
         setIsExpanded(!isExpanded);
     };
@@ -29,7 +28,7 @@
             }}
             className={`absolute top-2 left-2 bottom-2 w-[280px] ${styles.panel}`}
         >
-            <div className="h-full overflow-auto">
+            <div className="h-full overflow-hidden">
                 <Panel title="搴撴埧鎯呭喌">
                     <StockCharts />
                 </Panel>
@@ -37,8 +36,8 @@
                     <TaskCharts />
                 </Panel>
                 <Panel title="AGV淇℃伅">
-                    {/* <AgvCharts /> */}
-                    <CapacityCharts />
+                    <AgvCharts />
+                    {/* <CapacityCharts /> */}
                 </Panel>
             </div>
             <div

--
Gitblit v1.9.1