Commit 307d638d0edf9191f7d3588572b9948ca82535cb
1 parent
ad438adf
材料利用率
Showing
3 changed files
with
3 additions
and
1 deletions
src/components/Common/BoxShowImgMaterial/index.css
src/components/Common/BoxShowImgMaterial/index.less
src/components/Common/BoxShowImgMaterial/indexNew.js
| ... | ... | @@ -171,7 +171,7 @@ const BoxShowImgMaterial = props => { |
| 171 | 171 | ).toFixed(2); |
| 172 | 172 | useEffect( |
| 173 | 173 | () => { |
| 174 | - setBoxKey(new Date().getTime()); | |
| 174 | + // setBoxKey(new Date().getTime()); | |
| 175 | 175 | setTimeout(() => { |
| 176 | 176 | // if (boxRef.current && textRef.current && textRefs.current && nTextRef.current && nTextRefs.current) |
| 177 | 177 | if (boxRef.current && textRef.current && textRefs.current && nTextRef.current && nTextRefs.current) { | ... | ... |