#
luxiaotao1123
2024-03-30 3a9a06e078a9d08b9da5ed41d5e63ab67637c909
zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
@@ -17,11 +17,10 @@
    const { curSprite, curFloor } = props;
    const [activeTabKey, setActiveTabKey] = useState('view');
    const [curLocNo, setCurLocNo] = React.useState(curSprite.data.no + '-' + curFloor);
    const [curLocNo, setCurLocNo] = React.useState(''); // just used to modify the drawer title
    useEffect(() => {
        const locNo = curSprite.data.no + '-' + curFloor;
        props.setDrawerTitle(intl.formatMessage({ id: 'map.loc.no', defaultMessage: '库位号' }) + ': ' + locNo);
        setCurLocNo(locNo);
    }, [curSprite]);