Cannot read property 'target' of undefined

前端 未结 6 1203
感动是毒
感动是毒 2020-12-31 11:03

In my render method I have component


handleChange is fol

6条回答
  •  一整个雨季
    2020-12-31 11:45

    You can fix it like this

    function handleChange(event) {
        const value =  event.taget.value;
    }
    
    
    
    not this
    
    
    

提交回复
热议问题