Skip to content

Commit

Permalink
fix: adjust api radio group and api cascader
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Apr 14, 2024
1 parent 6ebffa2 commit 7367cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Form/src/components/ApiCascader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
type: Array,
},
api: {
type: Function as PropType<(arg?: Recordable<any>) => Promise<Option[]>>,
type: Function as PropType<(arg?: any) => Promise<any>>,
default: null,
},
numberToString: propTypes.bool,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/src/components/ApiRadioGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
props: {
api: {
type: Function as PropType<(arg?: any | string) => Promise<OptionsItem[]>>,
type: Function as PropType<(arg?: any) => Promise<any>>,
default: null,
},
params: {
Expand Down

0 comments on commit 7367cc9

Please sign in to comment.