amis/examples/components/Page/Form.jsx
RickCole 48be326e15
服务端报错优化、其他bug和优化 (#1331)
* combo报错支持服务端报错、name路径优化

* fix

* fix

* 支持onValidate

* add doc

* fix

* fix
2021-01-07 23:32:07 +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'
}
]
}
};