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