amis/examples/components/Page/Form.jsx
2020-08-20 20:33:55 +08:00

23 lines
345 B
JavaScript

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