how to use state data in another function in react.js

后端 未结 0 982
忘掉有多难
忘掉有多难 2021-01-15 17:55

i am new to creating modal on react.js and i want to use state in another method

this is my code:

`deleteTemplates(index){
    let {templates} = this.s         


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