vendor: amis 6.13.0 base (fork root)
This commit is contained in:
24
examples/components/Page/Form.jsx
Normal file
24
examples/components/Page/Form.jsx
Normal file
@@ -0,0 +1,24 @@
|
||||
export default {
|
||||
type: 'page',
|
||||
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'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user