How to prevent Default with typescript with reactjs

后端 未结 0 1536
误落风尘
误落风尘 2020-12-20 12:14

Here is my component. whenever i call the event it works fine. But page getting refreshed each time. how to prevent this. I understood that i need to add event.prevent

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