Cannot invoke an object which is possibly 'null'.ts(2721)

后端 未结 0 1169
南方客
南方客 2021-01-14 15:41

I\'m trying to create a component with useLayoutEffect but when I add ref.current?.onselect() it gives me these errors:

Cannot invoke an object w         


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