amis/examples/components/Page/Form.jsx

25 lines
442 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',
body: [
{
label: 'Name',
type: 'input-text',
name: 'name'
},
{
label: 'Email',
type: 'input-email',
placeholder: '请输入邮箱地址',
name: 'email'
}
]
}
]
2019-11-07 10:41:14 +08:00
};