#
luxiaotao1123
2024-03-27 9a3acfc063e6c6f6950b37d0fdaad37421bf2f1d
zy-asrs-flow/src/pages/map/drawer/shelf/view.jsx
@@ -4,25 +4,30 @@
import { createStyles } from 'antd-style';
import * as Utils from '../../utils'
import Http from '@/utils/http';
import ShelfThree from './shelfThree'
const useStyles = createStyles(({ token, css }) => {
})
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 style={{ zIndex: 99 }} ref={refContainer}></div>
        </>
    )
}