mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-09-10 23:21:58 +08:00
feat: add vue3(element-plus)
This commit is contained in:
14
yudao-ui-admin-vue3/src/components/Form/index.ts
Normal file
14
yudao-ui-admin-vue3/src/components/Form/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import Form from './src/Form.vue'
|
||||
import { ElForm } from 'element-plus'
|
||||
|
||||
export interface FormExpose {
|
||||
setValues: (data: Recordable) => void
|
||||
setProps: (props: Recordable) => void
|
||||
delSchema: (field: string) => void
|
||||
addSchema: (formSchema: FormSchema, index?: number) => void
|
||||
setSchema: (schemaProps: FormSetPropsType[]) => void
|
||||
formModel: Recordable
|
||||
getElFormRef: () => ComponentRef<typeof ElForm>
|
||||
}
|
||||
|
||||
export { Form }
|
Reference in New Issue
Block a user