Bug记录01 React项目 | Expected an assignment or function call and instead saw an expression

报错记录 Expected an assignment or function call and instead saw an expression 错误代码 解决办法 补充: 箭头函数有大括号就要有return,用return返回出去的组件可以没有用小括号括起来成为一个整体,但必须要让组件和return在一行。 附录:在线代码截图工具(网址: https://www.dute.org/code-
相关文章
相关标签/搜索