#
luxiaotao1123
2024-08-20 f97ee12c96d96e2f529e4248695d643245ec4243
src/pages/left/index.jsx
@@ -5,13 +5,13 @@
import Panel from '@/components/panel';
import StockCharts from './components/stock-charts';
import TaskCharts from './components/task-charts';
import ActionCharts from './components/action-charts';
import LocCharts from './components/loc-charts';
import AgvCharts from './components/agv-charts';
import CapacityCharts from './components/capacity-charts';
const Left = () => {
    const [isExpanded, setIsExpanded] = useState(false);
    const [isExpanded, setIsExpanded] = useState(true);
    const containerAnimation = useSpring({
        transform: isExpanded ? 'translate(0%)' : 'translateX(-100%)',
@@ -29,11 +29,11 @@
            className={`absolute top-2 left-2 bottom-2 w-[280px] ${styles.panel}`}
        >
            <div className="h-full overflow-hidden">
                <Panel title="库房情况">
                    <StockCharts />
                <Panel title="一周内动作统计">
                    <ActionCharts />
                </Panel>
                <Panel title="库存类型">
                    <TaskCharts />
                    <LocCharts />
                </Panel>
                <Panel title="AGV信息">
                    <AgvCharts />