提交 | 用户 | 时间
|
314507
|
1 |
import Form from './src/Form.vue' |
H |
2 |
import { ElForm } from 'element-plus' |
|
3 |
import { FormSchema, FormSetPropsType } from '@/types/form' |
|
4 |
|
|
5 |
export interface FormExpose { |
|
6 |
setValues: (data: Recordable) => void |
|
7 |
setProps: (props: Recordable) => void |
|
8 |
delSchema: (field: string) => void |
|
9 |
addSchema: (formSchema: FormSchema, index?: number) => void |
|
10 |
setSchema: (schemaProps: FormSetPropsType[]) => void |
|
11 |
formModel: Recordable |
|
12 |
getElFormRef: () => ComponentRef<typeof ElForm> |
|
13 |
} |
|
14 |
|
|
15 |
export { Form } |