React - How to show last value of variable depending on condition

前端 未结 0 522
醉酒成梦
醉酒成梦 2020-11-27 02:51

I have a modal with like this:

const [selectedNumber, setSelectedNumber] = useState(-1);

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