会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
养猪至富
博客园
首页
新随笔
联系
订阅
管理
Error: Function components cannot have string refs. We recommend using useRef() instead.
报这个错误是因为,在无状态函数组件中使用了 ref ,解决方法去掉 ref,或者将函数组件换成类组件
posted @
2020-05-21 14:42
养猪至富
阅读(
2086
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
公告