RT,在线等

RT,在线等
1 35aZ4P8mT576683q Sep 23, 2020 via Android Talk is cheap |
2 SilencerL Sep 23, 2020 via iPhone Show me the fucking code. |
3 qwertty01 OP @liberty1900 @SilencerL 麻烦大佬帮忙看一下 |
4 Danswerme Sep 23, 2020 你这是要拿到 ref ? 函数式组件的话可以用 useRef import { useRef } from "react"; ... let growl = useRef(null); 文档见此 https://zh-hans.reactjs.org/docs/hooks-reference.html#useref 另外你 then 里面的 const.log 是什么玩意? |