react使用antd中input获取value值获取不到

不管用onChange还是ref都获取不到value值,还有一个警告


image.png

要加上一个e.persiste()百度有相关解释

你可能感兴趣的:(react使用antd中input获取value值获取不到)