zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
@@ -16,12 +16,11 @@ const { styles } = useStyles(); const { curSprite, curFloor } = props; const [locNo, setLocNo] = useState(''); const [activeTabKey, setActiveTabKey] = useState('view'); useEffect(() => { const locNo = curSprite.data.no + '-' + curFloor; setLocNo(locNo) useEffect(() => { props.setDrawerTitle(intl.formatMessage({ id: 'map.loc.no', defaultMessage: '库位号' }) + ': ' + locNo); }, [curSprite]);