DVA

routing

The page components are written in the routes folder and the first letter starts with a capital => React components start with a capital letter

//router.js + import Products from './routes/Products'; . + <Route path="/products" exact component={Products} />

antDesign

form

Conditional render statements in the form

{{' 1 ': <Input type="number"; placeholder=" placeholder "; />)}</Form.Item>, }[getFieldsValue(['spotWay']).spotWay] }