amis/examples/components/Page/Form.jsx

23 lines
345 B
React
Raw Normal View History

2019-04-30 11:11:25 +08:00
export default {
2019-11-07 10:41:14 +08:00
type: 'page',
2020-05-11 16:55:54 +08:00
title: '表单页面',
body: {
type: 'form',
mode: 'horizontal',
api: '/api/mock2/form/saveForm',
controls: [
2020-08-18 23:16:55 +08:00
{
label: 'Name',
type: 'text',
name: 'name'
},
2020-08-14 00:13:40 +08:00
{
2020-08-18 23:16:55 +08:00
label: 'Email',
type: 'email',
name: 'email'
2020-05-11 16:55:54 +08:00
}
]
}
2019-11-07 10:41:14 +08:00
};