import React from 'react' import { Create, SimpleForm, TextInput, DateInput } from 'react-admin' const OrderCreate = (props: any) => { return ( <Create title="创建订单" {...props}> <SimpleForm> <TextInput source='orderid'></TextInput> <TextInput source='clientname'></TextInput> <TextInput source='clientaddr'></TextInput> <TextInput source='clientcontact'></TextInput> </SimpleForm> </Create> ) } export default OrderCreate
运行结果