Skip to content

Commit

Permalink
feat(form): select config.option.afterRequest添加postOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen committed Feb 15, 2023
1 parent 3501a69 commit 4d0b4c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/form/src/fields/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ const getOptions = async () => {
formValue: mForm?.values,
formValues: mForm?.values,
config: props.config,
postOptions,
});
}
Expand Down Expand Up @@ -277,6 +278,7 @@ const getInitOption = async () => {
formValue: mForm?.values,
formValues: mForm?.values,
config: props.config,
postOptions,
});
}
Expand Down
1 change: 1 addition & 0 deletions packages/form/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ type RemoteSelectOptionRequestFunction = (
formValue: any;
formValues: any;
config: any;
postOptions: Record<string, any>;
},
) => any;

Expand Down

0 comments on commit 4d0b4c3

Please sign in to comment.