React : How to disable button when my function return me a specific value

前端 未结 0 1839
粉色の甜心
粉色の甜心 2020-12-07 06:37

I woudlike to disable button when my variable endPool equal to 1 :

class App extends Component {
    constructor(){
        super();
        this         


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