updating a variable via onClick for a prop

后端 未结 0 499
南方客
南方客 2020-12-03 07:28

I am trying to update the below "num" inside my render method by the button pusher. I added an onClick functionality to the button targeting my "num" var

相关标签:
回答
  • 消灭零回复
提交回复
热议问题