mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-04-23 00:38:34 +08:00
fix: 更新 VbenFormSchema 类型以包含 ComponentPropsMap
This commit is contained in:
@@ -48,9 +48,9 @@ async function initSetupVbenForm() {
|
||||
}
|
||||
|
||||
const useVbenForm = useForm<ComponentType, ComponentPropsMap>;
|
||||
export type FormSchemaGetter = () => VbenFormSchema[];
|
||||
|
||||
export { initSetupVbenForm, useVbenForm, z };
|
||||
|
||||
export type VbenFormSchema = FormSchema<ComponentType>;
|
||||
export type FormSchemaGetter = () => VbenFormSchema[];
|
||||
export type VbenFormSchema = FormSchema<ComponentType, ComponentPropsMap>;
|
||||
export type VbenFormProps = FormProps<ComponentType, ComponentPropsMap>;
|
||||
|
||||
Reference in New Issue
Block a user