为了账号安全,请及时绑定邮箱和手机立即绑定

react 里面的函数is not a function 问题!

react 里面的函数is not a function 问题!

POPMUISE 2019-03-25 11:05:34
react小白,再自己编写todolist小dome的时候,遇到的代码一直提示props.handleItemDelete is not a function。 大神能不能帮找一下问题 谢谢了gitHub地址:https://github.com/nn0403/myT...
查看完整描述

2 回答

?
ABOUTYOU

TA贡献1812条经验 获得超5个赞

没bind 你执行的时候相当于this.handleItemDelete(this)()

查看完整回答
反对 回复 2019-03-25
  • 2 回答
  • 0 关注
  • 5395 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信