在事件中添加bind(this)
出现这种情况一般是this指向的问题
React中Cannot read property ‘setState‘ of undefined
最新推荐文章于 2023-03-16 16:12:58 发布
在事件中添加bind(this)
出现这种情况一般是this指向的问题