mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 21:39:53 +08:00
48be326e15
* combo报错支持服务端报错、name路径优化 * fix * fix * 支持onValidate * add doc * fix * fix
23 lines
345 B
JavaScript
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'
|
|
}
|
|
]
|
|
}
|
|
};
|