how to delete an image from an array in function component

前端 未结 0 1805
野趣味
野趣味 2020-11-30 14:31

The handleRemoveImgButn should remove the first image, but when I click the handleRemoveImgButn, the image is not removing from the DOM. I also tried setImgs((prevImgs) =>

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