feat(form): select config.option.afterRequest添加postOptions

This commit is contained in:
roymondchen 2023-02-15 19:35:47 +08:00
parent 3501a69b2f
commit 4d0b4c3178
2 changed files with 3 additions and 0 deletions

View File

@ -152,6 +152,7 @@ const getOptions = async () => {
formValue: mForm?.values, formValue: mForm?.values,
formValues: mForm?.values, formValues: mForm?.values,
config: props.config, config: props.config,
postOptions,
}); });
} }
@ -277,6 +278,7 @@ const getInitOption = async () => {
formValue: mForm?.values, formValue: mForm?.values,
formValues: mForm?.values, formValues: mForm?.values,
config: props.config, config: props.config,
postOptions,
}); });
} }

View File

@ -253,6 +253,7 @@ type RemoteSelectOptionRequestFunction = (
formValue: any; formValue: any;
formValues: any; formValues: any;
config: any; config: any;
postOptions: Record<string, any>;
}, },
) => any; ) => any;