美文网首页
Functions are not valid as a Rea

Functions are not valid as a Rea

作者: 小番茄1009 | 来源:发表于2020-05-25 20:30 被阅读0次

警告:Warning: Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.

发现太粗心 写错了 最后一个图是解决方法:

1png 2png

相关文章

网友评论

      本文标题:Functions are not valid as a Rea

      本文链接:https://www.haomeiwen.com/subject/fjesoctx.html