企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: E:\Vue7\youone\wanliu002-ui\react-app-use-page\src\index9151.jsx: Missing semicolon. (43:12) 41 | } 42 | > 43 | Aihao(props){ | ^ 44 | 45 | return( 46 | <div> at Object._raise (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index.js:798:17) at Object.raiseWithData (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index.js:791: 17) at Object.raise (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index.js:752:17) at Object.semicolon (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index.js:3227:10) at Object.parseExpressionStatement (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\in dex.js:13343:10) at Object.parseStatementContent (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index .js:12932:19) at Object.parseStatement (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index.js:127 96:17) at Object.parseBlockOrModuleBlockBody (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib \index.js:13385:25) at Object.parseBlockBody (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index.js:133 76:10) at Object.parseProgram (E:\Vue7\youone\wanliu002-ui\react-app-use-page\node_modules\@babel\parser\lib\index.js:12718 :10) @ ./src/main.js 3:0-30 5:50-53 ``` ``` Aihao(props){ return( <div> <li>{props.names.map((name,i)=>{ <div><li key={i}>{name}</li></div> })}</li> </div> ) } ``` ``` function Aihao(props){ return( <div> <li>{props.names.map((name,i)=>{ <div><li key={i}>{name}</li></div> })}</li> </div> ) } ```