While changing one state in React both states are getting changed

前端 未结 0 1625
半阙折子戏
半阙折子戏 2021-01-17 07:07

I am trying to change one state but while doing that somehow my other state is also getting changed and I can\'t find the problem in this what should I do? here is my code :

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