From c4b00b0268f35a7a9e016e818b0f6e27bc3876f0 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期四, 28 三月 2024 08:56:50 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/Four-Way-Rack' into Four-Way-Rack

---
 zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx b/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
index 331d381..cda5f4f 100644
--- a/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
+++ b/zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
@@ -4,25 +4,36 @@
 import { createStyles } from 'antd-style';
 import * as Utils from '../../utils'
 import Http from '@/utils/http';
+import ShelfThree from './shelfThree'
 
 const useStyles = createStyles(({ token, css }) => {
-
+    return {
+        threeContainer: {
+            zIndex: 99,
+            width: '500px',
+            height: '600px',
+        }
+    }
 })
+
+let shelfThree;
 
 const ShelfView = (props) => {
     const intl = useIntl();
     const { styles } = useStyles();
 
+    console.log(props.data);
+
     const refContainer = useRef();
 
     useEffect(() => {
-
+        shelfThree = new ShelfThree(refContainer);
+        shelfThree.startup();
     }, []);
 
     return (
         <>
-           <div style={{zIndex: 99}} ref={refContainer}></div>
-            <h1>{props.data.uuid}</h1>
+            <div className={styles.threeContainer} ref={refContainer}></div>
         </>
     )
 }

--
Gitblit v1.9.1