react hooks

useEffect 一直发请求,是忘记了第二个参数

useEffect(()=> {
},[])
原文地址:https://www.cnblogs.com/Running00/p/12172626.html