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