amis2/examples/components/Page/Form.jsx
2020-05-27 13:53:15 +08:00

24 lines
360 B
JavaScript

export default {
type: 'page',
title: '表单页面',
body: {
type: 'form',
mode: 'horizontal',
title: '',
api: '/api/mock2/form/saveForm',
controls: [
{
label: 'Name',
type: 'text',
name: 'name'
},
{
label: 'Email',
type: 'email',
name: 'email'
}
]
}
};