🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**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> } ```