Expected an assignment or function call and instead saw an expression no-unused-expressions


Expected an assignment or function call and instead saw an expression  no-unused-expressions  

中文翻译为:期望一个赋值或函数调用,却看到一个表达式未使用表达式

  我的问题  

 

  赋值 错写成了 等式;

 

Uncaught Invariant Violation: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.

  未捕获的不变冲突:对象不能作为一个React子对象(found: [object Promise])。如果您打算呈现一组子元素,请使用数组。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM