Skip to content

Commit

Permalink
Update index.tsx (ant-design#4069)
Browse files Browse the repository at this point in the history
还原 keyWord 为 keyWords
  • Loading branch information
snadn committed Nov 17, 2021
1 parent ce15148 commit 16c1dbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/field/src/components/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ export const useFieldFetchData = (

const { data, mutate: setLocaleData } = useSWR<any>(
[key, props.params, keyWords],
(_, params, keyWord) => {
(_, params, kw) => {
return fetchData({
...(params as Record<string, any>),
keyWord,
keyWords: kw,
});
},
{
Expand Down

0 comments on commit 16c1dbe

Please sign in to comment.