企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
**Module build failed (from ./node\_modules/babel-loader/lib/index.js): SyntaxError: \index830.jsx: Unexpected token** false ``` for (let i = 0; i < 20; i++) { datasets.push({ id: `f-${i}`, name: `母婴商品 ${i}`, uv: 20, stock: 5, }); datasets2.push({ id: `s-${i}`, name: `宠物商品 ${i}`, uv: 20, stock: 5, }); } const { useForm, useFieldArray, useFormValue } = Form; const form = Form.useForm(FormStrategy.View); ``` false ``` class Formbiao extends React.Component { const form = Form.useForm(FormStrategy.View); constructor(){ super(); this.state ={ date:new Date() //FormStrategy, //form:Form.useForm(FormStrategy.View) } } ``` true ``` function Morenhe(props){ const form = Form.useForm(FormStrategy.View); return <h1>{props.name}</h1> } ```